mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make leveldb server not exit immediately.
Summary: Test Plan: Reviewers: CC: Task ID: # Blame Rev:
This commit is contained in:
@@ -9,4 +9,4 @@
|
||||
This makes CRC computation much faster, but
|
||||
binaries won't run on CPUs that don't support it.
|
||||
|
||||
* Latest release is 1.4.1.fb
|
||||
* Latest release is 1.4.1.fb -- re-release 1.
|
||||
|
||||
@@ -41,6 +41,7 @@ void signal_handler(int sig) {
|
||||
int main(int argc, char **argv) {
|
||||
signal(SIGINT, signal_handler);
|
||||
startServer(argc, argv);
|
||||
sleep(100000000L);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -435,7 +435,7 @@ void startServer(int argc, char** argv) {
|
||||
|
||||
// create the service to process the assoc get/put to leveldb.
|
||||
int assocport = server_options.getAssocPort();
|
||||
fprintf(stderr, "Server starting on port %d\n", assocport);
|
||||
fprintf(stderr, "Assoc Service starting on port %d\n", assocport);
|
||||
shared_ptr<TServerTransport> assocTransport(new TServerSocket(assocport));
|
||||
shared_ptr<AssocServiceHandler> assocHandler(new AssocServiceHandler(openHandles));
|
||||
shared_ptr<TProcessor> assocProcessor(new AssocServiceProcessor(assocHandler));
|
||||
|
||||
Reference in New Issue
Block a user