Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!124
Zjednodušení práce s joby
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Zjednodušení práce s joby
jirka/jobs
into
devel
Overview
6
Commits
8
Changes
4
1 unresolved thread
Hide all comments
Merged
Jiří Setnička
requested to merge
jirka/jobs
into
devel
2 years ago
Overview
6
Commits
8
Changes
4
1 unresolved thread
Hide all comments
Expand
Obsahuje:
#294 (closed)
- joby s vyšší a nižší prioritou, dva mule workery
#289 (closed)
- zavedení vyčkávají stránka u jobů a lepší určování, kam přesměrovat po zpracování jobu
0
0
Merge request reports
Viewing commit
cb67a7d4
Prev
Next
Show latest version
4 files
+
8
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
cb67a7d4
DB: Joby mají prioritu
· cb67a7d4
Jiří Setnička
authored
2 years ago
db/db.ddl
+
1
−
0
Options
@@ -354,6 +354,7 @@ CREATE TABLE jobs (
job_id serial PRIMARY KEY,
type job_type NOT NULL,
state job_state NOT NULL,
priority int NOT NULL DEFAULT 0, -- vyšší číslo = vyšší priorita
user_id int NOT NULL REFERENCES users(user_id), -- komu patří
created_at timestamp with time zone NOT NULL DEFAULT CURRENT_TIMESTAMP, -- kdy byl založen
finished_at timestamp with time zone DEFAULT NULL, -- kdy doběhl
Loading