on master help sign in
Pin Knot compiler to 2026.6.26.1947 (last working release)
199ec3eiko
.github/workflows/build.yml+1−2
@@ -85,8 +85,7 @@ jobs:
85
85
86 - name: Download knot compiler
86 - name: Download knot compiler
87 run: |
87 run: |
88− version=$(basename "$(curl -sI -o /dev/null -w '%{redirect_url}' \
88+ version="2026.6.26.1947"
89− https://github.com/ilyakooo0/knot/releases/latest)")
90 tarball="knot-${version}-${{ matrix.knot-platform }}.tar.gz"
89 tarball="knot-${version}-${{ matrix.knot-platform }}.tar.gz"
91 curl -fsSL "https://github.com/ilyakooo0/knot/releases/download/${version}/${tarball}" \
90 curl -fsSL "https://github.com/ilyakooo0/knot/releases/download/${version}/${tarball}" \
92 | tar xz
91 | tar xz
server.knot+4−5
@@ -1317,10 +1317,9 @@ backgroundRetryForwards = do
1317-- Fork the background prune loop (which runs an immediate sweep on its
1317-- Fork the background prune loop (which runs an immediate sweep on its
1318-- first tick) and start the HTTP listener. The forward-retry loop only
1318-- first tick) and start the HTTP listener. The forward-retry loop only
1319-- runs when federation is enabled.
1319-- runs when federation is enabled.
1320−main : IO {network, console, clock, random, r *challenges, r *forwardFailures, r *forwards, r *messages, r *presence, r *seqCounter, r *sessions, w *challenges, w *forwardFailures, w *forwards, w *messages, w *presence, w *seqCounter, w *sessions} a
1321main = do
1320main = do
1322− _ <- logInfo ("Skrepka relay server starting on " ++ bindHost ++ ":" ++ show listenPort ++ " ...")
1321+ logInfo ("Skrepka relay server starting on " ++ bindHost ++ ":" ++ show listenPort ++ " ...")
1323− _ <- logInfo (" federation: " ++ (if federationEnabled then "enabled" else "disabled"))
1322+ logInfo (" federation: " ++ (if federationEnabled then "enabled" else "disabled"))
1324− _ <- fork backgroundPrune
1323+ fork backgroundPrune
1325− _ <- when federationEnabled (fork backgroundRetryForwards)
1324+ when federationEnabled (fork backgroundRetryForwards)
1326 listenOn bindHost listenPort api
1325 listenOn bindHost listenPort api