nsclient: try to send data immediately

This commit is contained in:
Milos Kozak 2017-03-02 20:59:18 +01:00
parent d841ff5098
commit 3d521eb75c

View file

@ -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");
}
}
});
}