3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

MessageHistory_SQLite: give timer a more concise name

This commit is contained in:
Pragmatic Software 2020-03-08 22:46:02 -07:00
parent 4e8c0977da
commit 9c8da0238a

View File

@ -37,7 +37,7 @@ sub initialize {
$self->{pbot}->{timer}->register(
sub { $self->commit_message_history },
$self->{pbot}->{registry}->get_value('messagehistory', 'sqlite_commit_interval'),
'messagehistory_sqlite_commit_interval'
'messagehistory commit'
);
$self->{alias_type}->{WEAK} = 0;
@ -46,7 +46,7 @@ sub initialize {
sub sqlite_commit_interval_trigger {
my ($self, $section, $item, $newvalue) = @_;
$self->{pbot}->{timer}->update_interval('messagehistory_sqlite_commit_interval', $newvalue);
$self->{pbot}->{timer}->update_interval('messagehistory commit', $newvalue);
}
sub sqlite_debug_trigger {