Skip to content

Commit

Permalink
feat(): fix uploadFolder sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
zyjblockchain committed Aug 24, 2022
1 parent 8bc1f86 commit 1f9b819
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
func (c *Config) runJobs() {
c.scheduler.Every(1).Minute().SingletonMode().Do(c.updateFee)
c.scheduler.Every(1).Minute().SingletonMode().Do(c.updateIPWhiteList)
c.scheduler.Every(10).Seconds().SingletonMode().Do(c.updateApiKey)
c.scheduler.Every(5).Seconds().SingletonMode().Do(c.updateApiKey)

c.scheduler.StartAsync()
}
Expand Down
4 changes: 2 additions & 2 deletions schema/bundle.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package schema

const (
DefaultPaymentExpiredRange = int64(3600) // 1 hour
DefaultExpectedRange = 50 // block height range
DefaultPaymentExpiredRange = int64(86400) // 24 hour
DefaultExpectedRange = 50 // block height range
)

0 comments on commit 1f9b819

Please sign in to comment.