summaryrefslogtreecommitdiff
path: root/src/portal/patches
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-21 19:22:50 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-21 19:22:50 -0400
commit60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2 (patch)
tree08ff2ce7975f523112e7ad2fe4f797b4fc7db5de /src/portal/patches
parent2f9a0945bfeee3296cec3d38d094e4c49f9cb65f (diff)
downloadcamu-60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2.tar.gz
camu-60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2.tar.bz2
camu-60b4ebfbf3be78dba9dc7c65ab2bdaa0b218c0c2.zip
Everything before initial synced list
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal/patches')
-rw-r--r--src/portal/patches/snscrape_auth.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portal/patches/snscrape_auth.diff b/src/portal/patches/snscrape_auth.diff
index 67962a9..efdc6e0 100644
--- a/src/portal/patches/snscrape_auth.diff
+++ b/src/portal/patches/snscrape_auth.diff
@@ -121,7 +121,7 @@ index d1719a8..43d9076 100644
r._snscrapeObj = obj
if apiType is _TwitterAPIType.GRAPHQL and 'errors' in obj:
msg = 'Twitter responded with an error: ' + ', '.join(f'{e["name"]}: {e["message"]}' for e in obj['errors'])
-+ blockFor = 30.0
++ blockFor = 10.0
+ _logger.warn(f'Got errors waiting for {blockFor} seconds')
+ time.sleep(blockFor)
+ return False, msg