Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4c8d8a9f2d | |||
4992d7cac9 |
@ -1,5 +1,5 @@
|
||||
#Fri, 13 Sep 2013 08:25:17 -0500
|
||||
#Sun, 22 Sep 2013 14:58:43 -0500
|
||||
name=timestamper-lib
|
||||
version=1.3
|
||||
version=1.5
|
||||
lib.local=true
|
||||
build.number=10
|
||||
build.number=1
|
||||
|
Binary file not shown.
@ -153,7 +153,8 @@ public class JDBLabsWebTimelineSource extends TimelineSource {
|
||||
requestContentType = JSON
|
||||
body = entryBody
|
||||
|
||||
response.success = { entryHashes.put(fullHash(entry), entry.id ?: 0) }
|
||||
response.success = { resp, json ->
|
||||
entryHashes.put(fullHash(entry), json?.id ?: 0) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -99,7 +99,10 @@ public class SyncTarget {
|
||||
return syncPerformed;
|
||||
}
|
||||
|
||||
public void shutdown() {
|
||||
public void shutdown() throws IOException {
|
||||
// TODO: move this onto the timer thread?
|
||||
if (syncOnExit) sync();
|
||||
|
||||
syncTimer.cancel();
|
||||
syncTimer.purge();
|
||||
}
|
||||
|
Reference in New Issue
Block a user