A scheduler for changing the rate limit at certain times is currently in the making (see issue #6130) I want to share my idea for an improvement
Do we even need the minute granularity?
0 … rate limit is off
1 … rate limit is on
so a business week 9-17 would look like this in config.xml
000000000111111111000000
000000000111111111000000
000000000111111111000000
000000000111111111000000
000000000111111111000000
000000000000000000000000
000000000000000000000000
The scheduler reads this config and simply keeps all days+hours that have a scheduled “1” in the memory. The “0” are not needed
Examples
Monday, 11:46 -> there is a “1” for hour “11” in the config -> rate limit on
Saturday, 20:53 -> there is nothing in the memory config -> rate limit off
GUI have 1 checkbox for each day/hour plus some conditional css if the checkbox is clicked e.g. has green background.
working mockup - yes, I work Saturdays
1 post - 1 participant