Skip to content

Commit

Permalink
2.3.1b8
Browse files Browse the repository at this point in the history
  • Loading branch information
c-darwin committed May 14, 2016
1 parent aad6cf0 commit 51fe550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


// текущая версия
const VERSION = "2.3.1b7"
const VERSION = "2.3.1b8"

// чтобы не выдавать одно и тоже голосование
const ASSIGN_TIME = 86400
Expand Down
2 changes: 1 addition & 1 deletion packages/controllers/synchronization_blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (c *Controller) SynchronizationBlockchain() (string, error) {
var needReload string
if ( timeSynchro == 0 ) {
timeSynchro = utils.Time()
} else if utils.Time() - timeSynchro > 1200 { // Тут можно поставить минут 20 или меньше
} else if utils.Time() - timeSynchro > 300 { // Тут можно поставить минут 20 или меньше
// Имеет смысл проверять последний блок
if utils.Time() - utils.StrToInt64( blockTime ) > 3600 {
needReload = `1`
Expand Down

0 comments on commit 51fe550

Please sign in to comment.