We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 641e657 + b41ce6f commit d52f003Copy full SHA for d52f003
spampd.pl
@@ -1214,13 +1214,19 @@ sub post_bind_hook {
1214
sub pre_fork_hook {
1215
return if $_[1]; # && $_[1] eq 'dequeue';
1216
++$_[0]->{spampd}->{runtime_stats}->{child_count};
1217
+ ($_[0]->{spampd}->{sa_version} >= 3) and eval {
1218
+ $_[0]->{assassin}->call_plugins("prefork_init");
1219
+ }
1220
}
1221
1222
# Net::Server hook: new child starting
1223
sub child_init_hook {
1224
1225
# set process name to help clarify via process listing which is child/parent
1226
$_[0]->update_child_name();
1227
1228
+ $_[0]->{assassin}->call_plugins("spamd_child_init");
1229
1230
1231
1232
# Net::Server hook: about to exit child process
0 commit comments