The polling decisions the weather, stock, and calendar stores share. More...
#include "io/stores/store_poll.h"Functions | |
| bool | store_poll_set (StorePoll *poll, int poll_min, bool live, time_t now) |
| Take a store's interval and whether it is live, as its init and its reconfigure both do. | |
| bool | store_poll_turn (StorePoll *poll, time_t now) |
| A store's turn on the face's cadence: whether a poll should go out now. | |
The polling decisions the weather, stock, and calendar stores share.
Each store keeps its own interval, its own first fetch, and its own request. What they share is when a poll is due and when polling is on at all.