mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 10:35:41 -04:00
Update for 5.26 changes properly, also allow more plugin children at the start
This commit is contained in:
parent
1e5af45c57
commit
1e9e1fbc17
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ sub parse_main_conf {
|
|||
}
|
||||
|
||||
my %conf_defaults = (
|
||||
start_plugin_children => 8,
|
||||
start_plugin_children => 20,
|
||||
max_plugin_children => 20,
|
||||
child_handle_count => 20,
|
||||
http_plugin_port => 10080,
|
||||
|
|
|
@ -146,7 +146,7 @@ sub _load_plugins {
|
|||
local $@;
|
||||
local *DATA; # Prevent previous file's __DATA__
|
||||
# sections being read for this new file.
|
||||
my $plugin_return = do "$plugin_dir/$file";
|
||||
my $plugin_return = do "./$plugin_dir/$file";
|
||||
if( not $plugin_return or $@ ) {
|
||||
error "Failed to load plugin: $plugin_dir/$file $@\n";
|
||||
next;
|
||||
|
|
Loading…
Add table
Reference in a new issue