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:
Eelco Dolstra
2013-05-02 17:51:38 +02:00
parent edaeb892e7
commit e96916533f
8 changed files with 33 additions and 7 deletions

View File

@ -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