You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's assume we have a task 'do_smth', there are all states it can embrace:
169
+
1) `queued` - the task has been sent to the queue without an error
170
+
2) `running` - the task is grabbed by a worker and is being processed
171
+
3) `success` - the task is fully processed without any errors
172
+
4) `failure` - an error occured during the task processing
173
+
5) `abandoned` - taskiq-admin sets all 'running' tasks as 'abandoned' if there was a downtime between the time these tasks were in 'running' state and the time of next startup of taskiq-admin
174
+
129
175
### Development
130
176
1) Run `pnpm install` to install all dependencies
131
177
2) Run `pnpm db:push` to create the sqlite database if needed
Copy file name to clipboardExpand all lines: package.json
+5-4
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,30 @@
2
2
"name": "nuxt-app",
3
3
"private": true,
4
4
"type": "module",
5
-
"version": "1.5.0",
5
+
"version": "1.6.0",
6
6
"scripts": {
7
7
"build": "nuxt build",
8
8
"dev": "nuxt dev",
9
9
"generate": "nuxt generate",
10
10
"preview": "nuxt preview",
11
11
"postinstall": "nuxt prepare",
12
+
"typecheck": "tsc --noEmit",
12
13
"db:push": "drizzle-kit push",
13
14
"generate:sql": "drizzle-kit export --sql | sed 's/CREATE TABLE/CREATE TABLE IF NOT EXISTS/g; s/CREATE INDEX/CREATE INDEX IF NOT EXISTS/g' > dbschema.sql",
14
15
"generate:future:sql": "drizzle-kit export --sql | sed 's/CREATE TABLE/CREATE TABLE IF NOT EXISTS/g; s/CREATE INDEX/CREATE INDEX IF NOT EXISTS/g' > dbschema.sql; sed -i '1s/^/PRAGMA journal_mode = WAL; PRAGMA synchronous = normal; PRAGMA journal_size_limit = 6144000;\\n/' dbschema.sql"
0 commit comments