diff options
author | deva <deva> | 2011-04-01 12:31:03 +0000 |
---|---|---|
committer | deva <deva> | 2011-04-01 12:31:03 +0000 |
commit | f86e3fa5d2333116b435cb7fd7bbfeb699483d12 (patch) | |
tree | e06806f0cf6ecf24e902b4fc978bea3c128f6130 /server/src | |
parent | 7c94eb6c877d5c1613a968f344ae42cc6d2c6735 (diff) |
Re-enable multiuser feature.
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/journal_uploadserver.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 = ""; } |