Skip to content

Commit

Permalink
fix: do not preload Minion module (#7696)
Browse files Browse the repository at this point in the history
fix: do not preload Minion module #7695
  • Loading branch information
stephanegigandet authored Nov 15, 2022
1 parent 4e8e83d commit 3532c58
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/startup_apache2.pl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
use URI::Escape::XS ();
use File::chmod::Recursive;

# The line 'use Minion;', either in this startup script, or in a module
# loaded by it (e.g. Producers.pm) causes Apache+modperl to exit.
# A reason / workaround has not been found yet, so commenting out the preloading
# of Minion and Producers.
# Corresponding issue: https://github.com/openfoodfacts/openfoodfacts-server/issues/7695
#use Minion ();

use ProductOpener::Config qw/:all/;

use Log::Any qw($log);
Expand Down Expand Up @@ -94,7 +101,7 @@
use ProductOpener::Import qw/:all/;
use ProductOpener::ImportConvert qw/:all/;
use ProductOpener::Numbers qw/:all/;
use ProductOpener::Producers qw/:all/;
#use ProductOpener::Producers qw/:all/;
use ProductOpener::ProducersFood qw/:all/;
use ProductOpener::GeoIP qw/:all/;
use ProductOpener::GS1 qw/:all/;
Expand Down

0 comments on commit 3532c58

Please sign in to comment.