@jerry Also, the current response time of 1s is not that big of a problem. I had issues with responses that took up to 10 seconds or so. But if you did not change anything, the problem seems to lie somewhere else...

kpwn@infosec.exchange
Posts
-
Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec -
Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec@jerry No noticable difference. Thanks for your support!
-
Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec@jerry Nah, pretty much the same. Maybe even a little slower.
-
Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec@jerry It basically comes down to this:
if __name__ == '__main__':
mastodon_main = Mastodon(api_base_url='https://infosec.exchange', access_token='[access_token]', request_timeout = 10)for i in range(20):
print(f'{i}...')
t = time.time()
posts = mastodon_main.timeline(timeline='public', limit=20)
print(f'{i} done in {time.time() - t}s')In my recent attempts, the request takes around 1 second, which is okay but still slower than I'd expect. Interestingly, without API key, it's 0.2s faster.
-
Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosecHi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec.exchange with Mastodon.py.
Requests sometimes take multiple seconds to finish. It seems, the API itself is responding quite fast (250ms) but the pre- / post-processing is sluggish. While this is none of your business, I wonder if you changed anything recently, which may be the cause for the issue. I‘d love to hear from you :3