git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server: exit: wait up to 10s before exiting
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
RemoteLibraryServer.java
diff --git
a/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java
b/src/be/nikiroo/fanfix/library/RemoteLibraryServer.java
index 43f61b096cbb6e8d452a47b13853a1a2fc15af7c..1f655457c96a6eb405caef125e5accd1b021f391 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/RemoteLibraryServer.java
+++ b/
src/be/nikiroo/fanfix/library/RemoteLibraryServer.java
@@
-289,10
+289,10
@@
public class RemoteLibraryServer extends ServerObject {
}
Progress pg = createPgForwarder(action);
}
Progress pg = createPgForwarder(action);
-
Story story
= Instance.getLibrary().imprt(
+
MetaData meta
= Instance.getLibrary().imprt(
new URL((String) args[0]), pg);
forcePgDoneSent(pg);
new URL((String) args[0]), pg);
forcePgDoneSent(pg);
- return
story.getMeta()
.getLuid();
+ return
meta
.getLuid();
} else if ("DELETE_STORY".equals(command)) {
if (!rw) {
throw new RemoteLibraryException("Read-Only remote library: "
} else if ("DELETE_STORY".equals(command)) {
if (!rw) {
throw new RemoteLibraryException("Read-Only remote library: "
@@
-341,7
+341,7
@@
public class RemoteLibraryServer extends ServerObject {
"Read-Only remote library: EXIT", false);
}
"Read-Only remote library: EXIT", false);
}
- stop(0, false);
+ stop(
1000
0, false);
}
return null;
}
return null;