DerIch27 created this task. DerIch27 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION My setup -------- I am constantly listening to the recent changes channel with a python script of the following form: from pywikibot.comms import eventstreams stream = eventstreams.EventStreams(streams='recentchange') stream.register_filter(type='edit', wiki='dewiki') while True: change = next(stream) # do stuff After this script notified me about edits from multiple days ago on multiple occasions, I started to monitor the difference between the timestamp of the edit and the time, I retrieved the edit. With this, I was able to log the following event. Example ------- The last restart of my service was on May 23th, 21:37 UTC. Until May 26th, 11:02 UTC, it seemed to work just fine and the delay stayed below the boundary of 5min, I configured. Then, the eventstream jumped back in time and I retrieved an edit from Mai 19th, 10:55 UTC. After this, it seemed to retrieve all edits starting with this old one. On 13:04 UTC it was back on track and retrieving up to date changes. Workaround ---------- I could just restart the service as soon as I detect a highly delayed edit. Is this a known issue? Or does anybody know if it is a pywikibot-problem or if the mediawiki-api serves weird stuff? Thanks in advance for your help. TASK DETAIL https://phabricator.wikimedia.org/T365949 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: DerIch27 Cc: Aklapper, pywikibot-bugs-list, DerIch27, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org