mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-25 19:44:26 +01:00
BanList: increase save queue delay to 15s
This commit is contained in:
parent
6ff311267e
commit
08caa120fe
@ -44,14 +44,14 @@ sub initialize {
|
|||||||
pbot => $self->{pbot},
|
pbot => $self->{pbot},
|
||||||
name => 'Ban List',
|
name => 'Ban List',
|
||||||
filename => $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/banlist',
|
filename => $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/banlist',
|
||||||
save_queue_timeout => 5,
|
save_queue_timeout => 15,
|
||||||
);
|
);
|
||||||
|
|
||||||
$self->{quietlist} = PBot::DualIndexHashObject->new(
|
$self->{quietlist} = PBot::DualIndexHashObject->new(
|
||||||
pbot => $self->{pbot},
|
pbot => $self->{pbot},
|
||||||
name => 'Quiet List',
|
name => 'Quiet List',
|
||||||
filename => $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/quietlist',
|
filename => $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/quietlist',
|
||||||
save_queue_timeout => 5,
|
save_queue_timeout => 15,
|
||||||
);
|
);
|
||||||
|
|
||||||
$self->{banlist}->load;
|
$self->{banlist}->load;
|
||||||
|
Loading…
Reference in New Issue
Block a user