Increase max db limit
Increase wallet startup time allotment for big channels Set FPS to float instead of int
This commit is contained in:
parent
13543b20e9
commit
fc18151d77
3 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@ type Format struct {
|
|||
Ext string `json:"ext"`
|
||||
FragmentBaseURL string `json:"fragment_base_url,omitempty"`
|
||||
Filesize interface{} `json:"filesize"`
|
||||
Fps int `json:"fps"`
|
||||
Fps float64 `json:"fps"`
|
||||
Fragments []struct {
|
||||
Path string `json:"path"`
|
||||
Duration float64 `json:"duration,omitempty"`
|
||||
|
|
|
@ -424,7 +424,7 @@ func (s *Sync) waitForDaemonStart() error {
|
|||
if err == nil && status.StartupStatus.Wallet && status.IsRunning {
|
||||
return nil
|
||||
}
|
||||
if time.Since(beginTime).Minutes() > 60 {
|
||||
if time.Since(beginTime).Minutes() > 120 {
|
||||
s.grp.Stop()
|
||||
return errors.Err("the daemon is taking too long to start. Something is wrong")
|
||||
}
|
||||
|
|
|
@ -255,7 +255,7 @@ func CleanupLbrynet() error {
|
|||
}
|
||||
return errors.Err(err)
|
||||
}
|
||||
dbSizeLimit := int64(1 * 1024 * 1024 * 1024)
|
||||
dbSizeLimit := int64(2 * 1024 * 1024 * 1024)
|
||||
if db.Size() > dbSizeLimit {
|
||||
files, err := filepath.Glob(lbryumDir + "/blockchain.db*")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue