From b8677cb17b8c4fdf2af1fcd0ead311b9bf2cfead Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 27 Apr 2013 20:20:44 +0200 Subject: datastore: name refactorings --- datastore-leveldb/src/server.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'datastore-leveldb/src/server.cpp') diff --git a/datastore-leveldb/src/server.cpp b/datastore-leveldb/src/server.cpp index 1337466..8dd0ee2 100644 --- a/datastore-leveldb/src/server.cpp +++ b/datastore-leveldb/src/server.cpp @@ -29,7 +29,6 @@ int begin_request_handler(struct mg_connection *conn) { return 1; } } - return 0; } @@ -38,14 +37,14 @@ struct sigaction old_action; // Stop the server. void sigint_handler(int s) { mg_stop(ctx); - closeDB(); + db_close(); exit(0); } int main(int argc, char **argv) { struct mg_callbacks callbacks; const char *options[] = { - "num_threads", "10", + "num_threads", "8", "listening_ports", "8080", "document_root", "wwwroot", NULL}; -- cgit v1.2.1