Commit Graph

14 Commits

Author SHA1 Message Date
Klaus Basan
0c4a2209f2 Ref T292, Ref T285 fixed CBackgroundDataUpdater::syncDbEntity which was called always with model entity 2018-07-27 01:18:37 +02:00
Klaus Basan
1fd7ad6891 Ref T292, Ref T285 background updater improvements
* less cycles
* message history
* more detailed status messages
2018-07-26 21:43:51 +02:00
Klaus Basan
3215a2e756 Ref T177, added direct write flag because only direct writes require a consolidation 2017-10-31 15:39:36 +01:00
Klaus Basan
28c4f14026 Ref T118, background updater subscribes simplified published models signal
* direct consolidation after models have been published
* renamed some syncModelOrModelSetCacheWithDbData variables
2017-10-31 15:39:21 +01:00
Klaus Basan
40bc75a98c Ref T164, show (by LED) when consolidating data
* added LED in info bar
* signal in background updater and
* connecting them
2017-09-26 20:15:28 +02:00
Klaus Basan
2a8e2331a3 Return background updater functions when shutting down 2017-09-24 19:53:48 +01:00
Klaus Basan
0bfd9a55a2 Ref T105, use timer in base class CContinuousWorker
* remove unused cleanup
* object name set in base class
2017-09-24 19:50:15 +01:00
Klaus Basan
2fbd2c6382 Ref T105, modified background updater
* removed gracefulShutdown
* removed isShuttingDown
2017-09-24 19:50:07 +01:00
Klaus Basan
a1e16ea162 Background updater can be const, only needed "readonly" for UI 2017-09-24 19:49:39 +01:00
Klaus Basan
e2c43a688b Automatically start background updater
Ref T28
2017-09-24 19:49:36 +01:00
Mathew Sutcliffe
fdbfda848f T102 Don't try to wait for a worker to finish while holding a lock
on the mutex that protects its finished flag, as it will deadlock.
2017-09-24 19:49:31 +01:00
Mathew Sutcliffe
ff2687fbe9 T66 Check whether it is safe to abandon the worker. 2017-05-14 17:21:36 +01:00
Mathew Sutcliffe
98e67860bc T66 Tidying up CBackgroundDataUpdater startup and shutdown
by overriding the CContinuousWorker virtual methods that exist for this purpose.
2017-05-14 17:21:35 +01:00
Klaus Basan
f12b69bb87 Ref T28, background updater: consolidate DB and model data in background
* automatically reload DB data
* consolidate models with DB data
2017-05-05 23:07:55 +01:00