change command message timeout to 2 hours

This commit is contained in:
spiral 2020-10-19 03:57:43 -05:00 committed by GitHub
parent ece7a523ba
commit 9da023e97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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