Skip to content

Commit

Permalink
chore: close connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeraa committed Dec 27, 2023
1 parent 0a3d8cb commit 0c6ca35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/worker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ async function run() {
const diff = process.hrtime(req.responseTimeCalc);
reply.headers({
"X-Response-Time": diff[0] * 1e3 + diff[1] / 1e6,
"X-Powered-By": "PreMiD"
"X-Powered-By": "PreMiD",
Connection: "close"
});
return;
});
Expand Down

0 comments on commit 0c6ca35

Please sign in to comment.