diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-03-29 13:30:01 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-03-29 13:30:01 -0400 |
commit | cd8701d5e602f64cf05c0e34841431d7bbe8e671 (patch) | |
tree | 3bd72d9c87173e9ba21a556e5b90841f36e24651 /src/c/driver.c | |
parent | 843fcc973f4cf7b149d4f57732fb66f812115320 (diff) |
Expunging non-nullable rows
Diffstat (limited to 'src/c/driver.c')
-rw-r--r-- | src/c/driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/c/driver.c b/src/c/driver.c index 1b616636..14d08b57 100644 --- a/src/c/driver.c +++ b/src/c/driver.c @@ -278,8 +278,11 @@ static void *worker(void *data) { } static void *client_pruner(void *data) { + uw_context ctx = uw_init(0, 0, 0, 0); + uw_db_init(ctx); + while (1) { - uw_prune_clients(5); + uw_prune_clients(ctx); sleep(5); } } |