Details
Description
The issue is occuring in the Qt Insight Coffee Machine sample app where the events are not sent as the sync value set in qtinsight.conf.
In my qtinsight.conf, sync is set as follows *token is not shown but it's set in my local.
{ "server" : "collect-insight.qt.io", "token" : "", "device_model" : "some model", "device_variant" : "v", "device_screen_type" : "NON_TOUCH", "platform" : "pc", "app_build" : "1.2.3", "storage" : "SQLITE", "storage_size" : 0, "sync" : { "interval" : { "seconds" :1 }, "max_batch_size" : 100 }, "categories" : [ "coffee" ], "events" : [ "FocusIn", "FocusOut", "KeyPress", "KeyRelease", "MouseButtonPress", "MouseButtonRelease", "Quit", "Resize", "TouchBegin", "TouchCancel", "TouchEnd" ] }
It's set so that the events are supposed to be sent in every 1 second.
However, when the app launched, the Application Output says as follows:
qt.insight.config: Using configurations from: ":/qtinsight.conf" qt.insight: Enabling Qt Insight Tracker qt.insight.events: The user identifier: "118b4e37-575e-4ac7-b4dd-ac9fe337fb5b" qt.insight.events: Using new session id: "72f7a16f-55bc-4285-ba95-32477f2a5bf0" qt.insight.eventfilter: Installing event filter qt.insight.eventfilter: tracking events QList("MouseButtonPress", "MouseButtonRelease", "KeyPress", "KeyRelease", "FocusIn", "FocusOut", "Resize", "Quit", "TouchBegin", "TouchEnd", "TouchCancel") qt.insight.storage: Using event storage: "C:/Users/81808/AppData/Roaming/coffee_insight/InsightTracker.db" qt.insight.events: Last sync at QDateTime(2023-10-08 00:11:51.216 東京 (標準時) Qt::LocalTime) 2914867 seconds ago. qt.insight.events: Next sync in 1380159 seconds
The important part is here:
qt.insight.events: Last sync at QDateTime(2023-10-08 00:11:51.216 東京 (標準時) Qt::LocalTime) 2914867 seconds ago. qt.insight.events: Next sync in 1380159 seconds
It says the Next sync is 1380159, which is not what I intended.