mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
MessageHistory_SQLite: give timer a more concise name
This commit is contained in:
parent
4e8c0977da
commit
9c8da0238a
@ -37,7 +37,7 @@ sub initialize {
|
|||||||
$self->{pbot}->{timer}->register(
|
$self->{pbot}->{timer}->register(
|
||||||
sub { $self->commit_message_history },
|
sub { $self->commit_message_history },
|
||||||
$self->{pbot}->{registry}->get_value('messagehistory', 'sqlite_commit_interval'),
|
$self->{pbot}->{registry}->get_value('messagehistory', 'sqlite_commit_interval'),
|
||||||
'messagehistory_sqlite_commit_interval'
|
'messagehistory commit'
|
||||||
);
|
);
|
||||||
|
|
||||||
$self->{alias_type}->{WEAK} = 0;
|
$self->{alias_type}->{WEAK} = 0;
|
||||||
@ -46,7 +46,7 @@ sub initialize {
|
|||||||
|
|
||||||
sub sqlite_commit_interval_trigger {
|
sub sqlite_commit_interval_trigger {
|
||||||
my ($self, $section, $item, $newvalue) = @_;
|
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 {
|
sub sqlite_debug_trigger {
|
||||||
|
Loading…
Reference in New Issue
Block a user