Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Caint logo. It's just text.
Konstantin :C_H:K

kpwn@infosec.exchange

@kpwn@infosec.exchange
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec
    Konstantin :C_H:K Konstantin :C_H:

    @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... 🙂

    Uncategorized

  • Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec
    Konstantin :C_H:K Konstantin :C_H:

    @jerry No noticable difference. Thanks for your support!

    Uncategorized

  • Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec
    Konstantin :C_H:K Konstantin :C_H:

    @jerry Nah, pretty much the same. Maybe even a little slower.

    Uncategorized

  • Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec
    Konstantin :C_H:K Konstantin :C_H:

    @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.

    Uncategorized

  • Hi @jerry, since September 2, I am experiencing great lags when querying the public timeline of infosec
    Konstantin :C_H:K Konstantin :C_H:

    Hi @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

    Uncategorized
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups