Skip to content

Commit

Permalink
enable more performance
Browse files Browse the repository at this point in the history
  • Loading branch information
batonac committed Oct 4, 2024
1 parent eeb7358 commit 8d0ea08
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .env-github.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GITHUB_USERNAME=your-github-username
GITHUB_TOKEN=your-github-token
2 changes: 1 addition & 1 deletion conf/php.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; Memory limits
memory_limit = 512M
memory_limit = 1G
max_execution_time = 300
max_input_time = 100

Expand Down
1 change: 1 addition & 0 deletions conf/wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
define('WP_CACHE', true);
define('WP_POST_REVISIONS', 5);
define('EMPTY_TRASH_DAYS', 7);
define('WP_MEMORY_LIMIT', '1G');

/* Add any custom values between this line and the "stop editing" line. */

Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/build-and-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

# Check if required environment variables are set
if [ -z "$GITHUB_USERNAME" ] || [ -z "$GITHUB_TOKEN" ]; then
echo "Error: GITHUB_USERNAME and GITHUB_TOKEN must be set in .env file"
echo "Error: GITHUB_USERNAME and GITHUB_TOKEN must be set in .env-github file"
exit 1
fi

Expand Down
1 change: 1 addition & 0 deletions wordpress.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ let
exif
fileinfo
filter
igbinary
# imagick
intl
mbstring
Expand Down

0 comments on commit 8d0ea08

Please sign in to comment.