nsclient: try to send data immediately
This commit is contained in:
parent
d841ff5098
commit
3d521eb75c
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ public class UploadQueue {
|
|||
public void run() {
|
||||
log.debug("QUEUE adding: " + dbr.data);
|
||||
MainApp.getDbHelper().create(dbr);
|
||||
NSClientInternalPlugin plugin = (NSClientInternalPlugin) MainApp.getSpecificPlugin(NSClientInternalPlugin.class);
|
||||
if (plugin != null) {
|
||||
plugin.resend("newdata");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue