129 Commits (3bff0f365184d035ff59d795868bece19cdbf47e)

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