We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c7cf9c + b5459b2 commit 7e9f03fCopy full SHA for 7e9f03f
yahoofinancials/cache.py
@@ -348,15 +348,15 @@ def initialise(self):
348
self.initialised = 0 # failure
349
return
350
i = 0
351
- while i < 150:
+ while i < 250:
352
try:
353
db.connect()
354
Cookie_db_proxy.initialize(db)
355
db.create_tables([_CookieSchema])
356
self.initialised = 1 # success
357
358
except _peewee.OperationalError:
359
- time.sleep(random.randint(3, 15))
+ time.sleep(random.randint(3, 25))
360
continue
361
362
0 commit comments