Allow a per-jobset check interval
This allows checking a jobset (say) at most once a day. It's also possible to disable polling by setting the interval to 0. This is useful for jobsets that use push notification or are manually evaluated.
This commit is contained in:
@ -60,6 +60,7 @@ create table Jobsets (
|
||||
hidden integer not null default 0,
|
||||
emailOverride text not null,
|
||||
keepnr integer not null default 3,
|
||||
checkInterval integer not null default 300, -- minimum time in seconds between polls (0 = disable polling)
|
||||
primary key (project, name),
|
||||
foreign key (project) references Projects(name) on delete cascade on update cascade
|
||||
#ifdef SQLITE
|
||||
|
@ -1,2 +1 @@
|
||||
|
||||
create index IndexBuildOutputsOnPath on BuildOutputs(path);
|
||||
|
1
src/sql/upgrade-13.sql
Normal file
1
src/sql/upgrade-13.sql
Normal file
@ -0,0 +1 @@
|
||||
alter table Jobsets add column checkInterval integer not null default 300;
|
Reference in New Issue
Block a user