dispatcher: added reload_delta parameter
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 20 May 2019 09:15:48 +0000 (11:15 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 20 May 2019 09:15:48 +0000 (11:15 +0200)
commit2b032137886a7074a6be4ac5772a428661a3130c
tree9d110f6a7a96d1f269c47a2b69a5366a293dc902
parent08d22b7bd95828554e30f4c23e906cd9d234e1cd
dispatcher: added reload_delta parameter

- limit the frequency of rpc reload commands to try to avoid races of
parallel reload operations
- default value is 5 seconds (no more than one reload command every 5
seconds)
src/modules/dispatcher/dispatcher.c