This commit is contained in:
Brandon Thomas committed 2021-09-12 00:38:19 -04:00
1 parent c6018b4ebd
commit a7d986d3f0
1 file changed
+76 -50
+76 -50
View File
@@ -1838,31 +1838,6 @@
"nullable": []
}
},
"196d879939ea1aac35bf1a5413a9fe28ff7c1bf641d6c6752d7746df211f2e39": {
"query": "\nSELECT\n count(*) as pending_count\nFROM\n tts_inference_jobs\nWHERE\n status = \"pending\"\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "pending_count",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 129
},
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false
]
}
},
"1cc62e5cdc8de18969d7e8018d91c38794e5a7d23f117e5b0a4126845f300e60": {
"query": "\nUPDATE user_sessions\nSET deleted_at = CURRENT_TIMESTAMP()\nWHERE\n token = ?\n AND deleted_at IS NULL\n ",
"describe": {
@@ -5405,6 +5380,44 @@
]
}
},
"a9173fd8148645bda75529aae0af63dcfb7cf9e114604ce4dcc962974e7268e1": {
"query": "\nSELECT\n NOW() - t2.created_at AS seconds_since_first,\n (\n SELECT\n count(t1.id) as pending_count\n FROM tts_inference_jobs AS t1\n WHERE t1.status = \"pending\"\n ) as pending_count\nFROM tts_inference_jobs AS t2\nWHERE t2.status = \"pending\"\nORDER BY t2.id ASC\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "seconds_since_first",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 129
},
"char_set": 63,
"max_size": 16
}
},
{
"ordinal": 1,
"name": "pending_count",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
true
]
}
},
"ab6f25eb0f6340d49aa705835ed428434d8b6ab14b0740f6a5ebe7841b9ece20": {
"query": "\nUPDATE tts_inference_jobs\nSET\n status = 'started',\n attempt_count = attempt_count + 1,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
@@ -7712,31 +7725,6 @@
"nullable": []
}
},
"d9a30d5fcf83f723e696000893ef60774bf286d77b609c5c5f2b51a738fa283c": {
"query": "\nSELECT\n count(*) as pending_count\nFROM\n w2l_inference_jobs\nWHERE\n status = \"pending\"\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "pending_count",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 129
},
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false
]
}
},
"da3197d279b94817c6c8a6277aff7a0cf44d66e6777f46680b1b07de48875dd5": {
"query": "\nINSERT INTO user_badges\nSET\n user_token = ?,\n badge_slug = ?\n ",
"describe": {
@@ -7963,6 +7951,44 @@
]
}
},
"dfe818ab849c5f6e2a5931142aab640d249aa96cb85dc06bfffae4d7feef541e": {
"query": "\nSELECT\n NOW() - t2.created_at AS seconds_since_first,\n (\n SELECT\n count(t1.id) as pending_count\n FROM w2l_inference_jobs AS t1\n WHERE t1.status = \"pending\"\n ) as pending_count\nFROM w2l_inference_jobs AS t2\nWHERE t2.status = \"pending\"\nORDER BY t2.id ASC\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "seconds_since_first",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 129
},
"char_set": 63,
"max_size": 16
}
},
{
"ordinal": 1,
"name": "pending_count",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
true
]
}
},
"e0ad2a7fe4ae795e4f097f604d5cfcf9605298b58cde5ca23bdf9c8ec7383b00": {
"query": "\nUPDATE w2l_templates\nSET\n creator_ip_address_last_update = ?,\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {