whym created this task.
whym added subscribers: whym, jayvdb.
whym added a project: Pywikibot-archivebot.py.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  The sleep in
  ```
              try:
                  archiver = PageArchiver(pg, a, salt, force)
                  archiver.run()
                  time.sleep(10)
              except Exception:
                  pywikibot.error(u'Error occurred while processing page %s' % 
pg)
                  pywikibot.exception(tb=True)
  
  ```
  appears to be of little use because
  
  1. There is no need to wait for user action, because the script is normally 
run periodically, not interactively.
  2. There is no need to limit API requests, because requests are sequentially 
emitted in this script.

TASK DETAIL
  https://phabricator.wikimedia.org/T104046

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: whym
Cc: jayvdb, Aklapper, whym, pywikibot-bugs-list, Malyacko, P.Copp



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to