Fix recurring task crash

It would fail when inserting a commit into the queue that was already in
the queue, instead of just skipping that commit.
This commit is contained in:
Joscha 2023-08-14 12:12:13 +02:00
parent 2b6c339c70
commit 1da946be10
3 changed files with 13 additions and 13 deletions

View file

@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "INSERT OR IGNORE INTO queue (hash, date) VALUES (?, ?)",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "9d51c90afa966740bbd7801c3e6736821d2ab899a6390ec1b66a2067cbcadc25"
}

View file

@ -1,12 +0,0 @@
{
"db_name": "SQLite",
"query": "INSERT INTO queue (hash, date) VALUES (?, ?)",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "d620ced558e472a5fe22d5ad365cf25726a7bb969acc8b9411a2591ce7bcc92f"
}