mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-22 22:08:26 +00:00
* agent: continue XFTP uploads started in foreground while suspending * tests: verify XFTP upload stage of agent suspension * docs: plan for XFTP uploads while suspending * docs: revise plan for XFTP uploads while suspending * docs: revise plan wording for XFTP uploads while suspending * agent: exclude ended and stopped XFTP uploads from suspension wait * tests: verify suspension wait for ended and stopped XFTP uploads * docs: plan decisions for ended XFTP uploads while suspending * agent: simplify tryBeginAgentOperation with orElse * agent: rename upload wait functions by the conditions they check * tests: verify database check and deleted rows at suspension start * docs: plan residual case, conditions and names for XFTP suspension * docs: plan tests for the remaining XFTP suspension paths * tests: verify the remaining XFTP suspension paths * docs: update plan line references and the query error test * tests: foreground agent before checking the query error result * docs: plan line references after merging master and stage diagrams * agent: one check of the begun database operation when removing deleted or failed counted files * agent: suspendAgent returns before the database query of counted files * tests: closed database store tests excluded from PostgreSQL agent builds * tests: suspension timeout test waits for the timeout and bounds SUSPENDED * tests: one setup helper for suspension tests with a small sent file, one for the bounded SUSPENDED wait * tests: suspendAgent returns while the agent database is in use * docs: plan states the forked removal at suspension start, uncounted redirects, offline files and the changed tests * docs: plan links the simplex-chat pull request * agent: suspend timeout starts when suspendAgent returns, not after the database query of counted files * docs: plan states the separate removal thread and the TTL cleanup interval