diff --git a/src/main/java/utils/Config.java b/src/main/java/utils/Config.java index 5aacecd..60e4efd 100644 --- a/src/main/java/utils/Config.java +++ b/src/main/java/utils/Config.java @@ -114,6 +114,9 @@ private void init() { if( !queue.containsKey("interval") ) { queue.put("interval", 1); } + if( !queue.containsKey("offline-timeout") ) { + queue.put("offline-timeout", 604800); + } JSONObject security = new JSONObject(); if( data.containsKey("security") ) { security = data.getJSONObject("security");