Skip to content

Make notifier refresh the DB connection less frequently

This sets a new value for the NOTIFIER_POLLING_INTERVAL variable introduced in https://github.com/open-craft/configuration/pull/49

The previous value was 5 seconds, which was too often (each server refreshed the DB connection every 5 seconds). The new value 60 seconds should reduce this, and is fast enough for what notifier does (sending e-mails once a day).

Testing:

  1. Test https://github.com/open-craft/configuration/pull/49 with the instruction upstream
  2. Try to create a server in Ocim and verify that the new variable NOTIFIER_POLLING_INTERVAL is added and set to 60
  3. Tests should pass

Merge request reports