projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75525a4
)
maintenance func needs always evtimer_add
author
Marko Kreen
<markokr@gmail.com>
Thu, 12 Apr 2007 10:49:59 +0000
(10:49 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 12 Apr 2007 10:49:59 +0000
(10:49 +0000)
src/janitor.c
patch
|
blob
|
blame
|
history
diff --git
a/src/janitor.c
b/src/janitor.c
index 4dda5d020f6c45888670f54ba69b1717dd9418ee..bda506df4def6c2cb72bf861b856427e3d7b74d2 100644
(file)
--- a/
src/janitor.c
+++ b/
src/janitor.c
@@
-436,7
+436,7
@@
static void do_full_maint(int sock, short flags, void *arg)
/* dont touch anything if takeover is in progress */
if (cf_reboot)
-
return
;
+
goto skip
;
statlist_for_each(item, &pool_list) {
pool = container_of(item, PgPool, head);
@@
-455,6
+455,7
@@
static void do_full_maint(int sock, short flags, void *arg)
loader_users_check();
+skip:
evtimer_add(&full_maint_ev, &full_maint_period);
}