projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97addf1
)
src/utils_cache.c: Replace a left-over hard-coded default of "2" with "timeout_g".
author
Florian Forster
<octo@huhu.verplant.org>
Wed, 29 Sep 2010 15:56:58 +0000
(17:56 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 29 Sep 2010 15:56:58 +0000
(17:56 +0200)
src/utils_cache.c
patch
|
blob
|
history
diff --git
a/src/utils_cache.c
b/src/utils_cache.c
index
69ea864
..
aeb662d
100644
(file)
--- a/
src/utils_cache.c
+++ b/
src/utils_cache.c
@@
-175,7
+175,7
@@
static int uc_send_notification (const char *name)
}
/* Check if the entry has been updated in the meantime */
- if ((n.time - ce->last_update) < (
2
* ce->interval))
+ if ((n.time - ce->last_update) < (
timeout_g
* ce->interval))
{
ce->state = STATE_OKAY;
pthread_mutex_unlock (&cache_lock);