Commit fd6cfca8 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ws_ticker' into 'master'

调整数量 See merge request !131
parents c3edb915 a6d921e2
...@@ -62,7 +62,7 @@ class BinanceBuilder extends FactoryService ...@@ -62,7 +62,7 @@ class BinanceBuilder extends FactoryService
$this->end = $size; $this->end = $size;
} }
$this->start = $this->end - 50; $this->start = $this->end - 50;
$this->end = $this->end - 1;
$keys = $this->redis->smembers($this->supported_symbol); $keys = $this->redis->smembers($this->supported_symbol);
if (false == $this->redis->exists($this->supported_symbol_list)) { if (false == $this->redis->exists($this->supported_symbol_list)) {
foreach ($keys as $val) { foreach ($keys as $val) {
......
...@@ -62,7 +62,7 @@ class HuobiBuilder extends FactoryService ...@@ -62,7 +62,7 @@ class HuobiBuilder extends FactoryService
$this->end = $size; $this->end = $size;
} }
$this->start = $this->end - 50; $this->start = $this->end - 50;
$this->end = $this->end - 1;
$keys = $this->redis->smembers($this->supported_symbol); $keys = $this->redis->smembers($this->supported_symbol);
if (false == $this->redis->exists($this->supported_symbol_list)) { if (false == $this->redis->exists($this->supported_symbol_list)) {
foreach ($keys as $val) { foreach ($keys as $val) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment