From f86e3fa5d2333116b435cb7fd7bbfeb699483d12 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 1 Apr 2011 12:31:03 +0000 Subject: Re-enable multiuser feature. --- server/src/journal_uploadserver.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/journal_uploadserver.cc b/server/src/journal_uploadserver.cc index 06882b5..a1299ec 100644 --- a/server/src/journal_uploadserver.cc +++ b/server/src/journal_uploadserver.cc @@ -29,7 +29,7 @@ #include "journal_commit.h" -//#define USE_MULTIPLE_USERS +#define USE_MULTIPLE_USERS static inline bool iswhitespace(char c) { @@ -180,6 +180,8 @@ void JournalUploadServer::commit() journal_commit(patientID().c_str(), olduser.c_str(), host.c_str(), port, resume.c_str(), resume.size()); + // FIXME - UGLY HACK: Avoid upload server spooling in the wrong order. + usleep(200000); resume = ""; } -- cgit v1.2.3