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
GitLab 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
Expand sidebar
Merged
Zjednodušení práce s joby
jirka/jobs
into
devel
Overview
6
Commits
8
Changes
4
1 open thread
Show all comments
Merged
Zjednodušení práce s joby
Jiří Setnička
requested to merge
jirka/jobs
into
devel
Oct 9, 2022
Overview
6
Commits
8
Changes
4
1 open thread
Show all comments
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
52dfc186
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
52dfc186
DB: Joby mají prioritu
· 52dfc186
Jiří Setnička
authored
Oct 8, 2022
db/db.ddl
+
1
−
0
View file @ 52dfc186
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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, -- 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