forked from external/yambar
modules: change min poll interval from 500ms to 250ms
This commit is contained in:
parent
310c07b03d
commit
e4edbd26c6
12 changed files with 12 additions and 11 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "../config-verify.h"
|
||||
#include "../plugin.h"
|
||||
|
||||
static const long min_poll_interval = 500;
|
||||
static const long min_poll_interval = 250;
|
||||
static const long default_poll_interval = 60 * 1000;
|
||||
|
||||
enum state { STATE_FULL, STATE_NOTCHARGING, STATE_CHARGING, STATE_DISCHARGING, STATE_UNKNOWN };
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "../particles/dynlist.h"
|
||||
#include "../plugin.h"
|
||||
|
||||
static const long min_poll_interval = 500;
|
||||
static const long min_poll_interval = 250;
|
||||
|
||||
struct cpu_stats {
|
||||
uint32_t *prev_cores_idle;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include "../particles/dynlist.h"
|
||||
#include "../plugin.h"
|
||||
|
||||
static const long min_poll_interval = 500;
|
||||
static const long min_poll_interval = 250;
|
||||
|
||||
struct device_stats {
|
||||
char *name;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "../log.h"
|
||||
#include "../plugin.h"
|
||||
|
||||
static const long min_poll_interval = 500;
|
||||
static const long min_poll_interval = 250;
|
||||
|
||||
struct private
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#define UNUSED __attribute__((unused))
|
||||
|
||||
static const long min_poll_interval = 500;
|
||||
static const long min_poll_interval = 250;
|
||||
|
||||
struct rt_stats_msg {
|
||||
struct rtmsg rth;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "../module.h"
|
||||
#include "../plugin.h"
|
||||
|
||||
static const long min_poll_interval = 500;
|
||||
static const long min_poll_interval = 250;
|
||||
|
||||
struct private {
|
||||
char *path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue