159 Commits (2bc5c191f0134076d53fe88aacce282a44701989)
 

Author SHA1 Message Date
Simon Quigley 2bc5c191f0 Add a 500 ms sleep when queuing futures, just in case
2 weeks ago
Simon Quigley b618bf0932 Try to do exponential backoff with get_thread_connection too
2 weeks ago
Simon Quigley 8af3fe19b4 Use futures for queuing pull and tarball tasks
2 weeks ago
Simon Quigley 406fddb27b Move to the database at the very end of a task
2 weeks ago
Simon Quigley 91fb6f2548 Only sync the task once per run in the task queue
2 weeks ago
Simon Quigley 9a35473d37 Use functions directly instead of grabbing many locks at once
2 weeks ago
Simon Quigley 1ecec033f1 Slightly rework locking with pull_project
2 weeks ago
Simon Quigley 0dced17ef2 Wrap clone/fetch in retry loops
2 weeks ago
Simon Quigley c9474eccfb Split apart Git functionality into a separate file
2 weeks ago
Simon Quigley 8b55525646 Decrease exponential backoff further
2 weeks ago
Simon Quigley f98b9c04d8 Attempt to fix assignment of commits
2 weeks ago
Simon Quigley 20a701641a General cleanup around task locking for a pkgconf
2 weeks ago
Simon Quigley 64ffc1b9e4 Be better about recognizing HTTP_PROXY
2 weeks ago
Simon Quigley 2bdae98c7e Try to also recognize NO_PROXY
2 weeks ago
Simon Quigley 76605a4aed No need to override the cert anymore
2 weeks ago
Simon Quigley ce4050f1e2 Attempt to correctly use HTTP proxies if set via env var
2 weeks ago
Simon Quigley fddc635957 Enable SSL and HTTP/2
2 weeks ago
Simon Quigley f3bd66b872 Lower exponential backoff initial value even further
2 weeks ago
Simon Quigley 90baa5d8b8 Slightly enhance logging
2 weeks ago
Simon Quigley 80932a3136 Only show every 5% in the Git progress
2 weeks ago
Simon Quigley 2331105d58 Do not allow duplicate log entries
2 weeks ago
Simon Quigley e39e2d4c49 Always consolidate the WAL file and VACUUM to start
2 weeks ago
Simon Quigley 565be5e97d Attempt to add repo clone/fetch progress to the log
2 weeks ago
Simon Quigley 6ea4665dbe Attempt to see if moving up the mutex will help with locking issues
2 weeks ago
Simon Quigley 345081b851 Try a different approach for tars
2 weeks ago
Simon Quigley 3bad275726 Also pass tarball_task by reference
2 weeks ago
Simon Quigley c0b95cf54f Don't sync tasks without jobstatuses, it'll be taken care of later
2 weeks ago
Simon Quigley 2915f73367 Try minimizing duplicate locks
2 weeks ago
Simon Quigley c0ba14764a small one-line
2 weeks ago
Simon Quigley 27da8b7df0 Make jobstatus_map a shared pointer, hopefully resolving nullptr issues
2 weeks ago
Simon Quigley a43739dfeb Lower exponential delay 10x
2 weeks ago
Simon Quigley ddc29602ee Add missing job_statuses
2 weeks ago
Simon Quigley 7feaf1726c Remove static const from jobstatuses to ensure it is passed correctly
2 weeks ago
Simon Quigley 296f37262d Also use exponential backoff for a locked db in the initial database schema, and support passing a QString to exec()
2 weeks ago
Simon Quigley 8b6ff0a865 Only queue the tarball task if the pull was successful
2 weeks ago
Simon Quigley 495912f0d2 Add several null checks for commits
2 weeks ago
Simon Quigley 1e92157a12 Consolidate much of the pull and build logic
2 weeks ago
Simon Quigley 228f430797 Be safer about removals from the active tokens list
2 weeks ago
Simon Quigley 6e12e28cd7 Invert passed check, this broke all queries, whoops
2 weeks ago
Simon Quigley 966bdcd1cb Centralize exec() in db_common for gradual backoff retries
2 weeks ago
Simon Quigley 8dc972b4de Move the database initialization to db_common
2 weeks ago
Simon Quigley 604683dc90 Fix installation of the common library
2 weeks ago
Simon Quigley 775e5bddb7 Centralize the database thread connection code
2 weeks ago
Simon Quigley 10d43282b6 Add the same to PackageConf syncs, and make logic more robust
2 weeks ago
Simon Quigley d3d19f4f2a Add exponential backup for task retries
2 weeks ago
Simon Quigley 0e26020d13 Change synchronous to NORMAL from FULL
2 weeks ago
Simon Quigley 0dd70c9545 add missing type decl
2 weeks ago
Simon Quigley 5df6fb4fc4 Fix bad task locks
2 weeks ago
Simon Quigley d6e268bf62 Make the SSO redirects work behind a correctly-configured reverse proxy
2 weeks ago
Simon Quigley 16b669c380 Fix prefix path
2 weeks ago