change command message timeout to 2 hours
This commit is contained in:
parent
ece7a523ba
commit
9da023e97a
@ -10,7 +10,7 @@ create table command_message
|
|||||||
|
|
||||||
create function cleanup_command_message() returns void as $$
|
create function cleanup_command_message() returns void as $$
|
||||||
begin
|
begin
|
||||||
delete from command_message where timestamp < now() - interval '1 hour';
|
delete from command_message where timestamp < now() - interval '2 hours';
|
||||||
end;
|
end;
|
||||||
$$ language plpgsql;
|
$$ language plpgsql;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user