Skip to content

Commit

Permalink
fix: remove souin, decrease job run rate
Browse files Browse the repository at this point in the history
  • Loading branch information
daflyinbed committed Jun 26, 2024
1 parent 9cb2ade commit 9e06b4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/caddy.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
ARG VERSION
FROM caddy:2.8.4-builder AS builder

RUN xcaddy build \
--with github.com/caddyserver/[email protected]

FROM ghcr.io/mooncellwiki/mw:$VERSION as mw
FROM caddy:2.8.4

COPY --from=builder /usr/bin/caddy /usr/bin/caddy
COPY --from=mw /srv/ /srv/
RUN chown -R root:root /srv
2 changes: 1 addition & 1 deletion LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
$wgMaxImageArea = 3.6e7;
$wgMaxAnimatedGifArea = 3.6e7;

$wgJobRunRate = 0.03;
$wgJobRunRate = 0.003;
$wgRunJobsAsync = true;
$wgUpdateRowsPerJob = 50;

Expand Down

0 comments on commit 9e06b4a

Please sign in to comment.