Skip to content

Commit

Permalink
Merge branch 'main' into bot-blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Dec 18, 2024
2 parents 9837642 + 2bb2e37 commit d9d7453
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 109 deletions.
2 changes: 0 additions & 2 deletions library/agent/protect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import { Postgresjs } from "../sinks/Postgresjs";
import { Fastify } from "../sources/Fastify";
import { Koa } from "../sources/Koa";
import { ClickHouse } from "../sinks/ClickHouse";
import { Eval } from "../sinks/Eval";
import { Function } from "../sinks/Function";

function getLogger(): Logger {
Expand Down Expand Up @@ -138,7 +137,6 @@ export function getWrappers() {
new Fastify(),
new Koa(),
new ClickHouse(),
new Eval(),
new Function(),
];
}
Expand Down
4 changes: 2 additions & 2 deletions library/helpers/ip-matcher/performance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,6 @@ t.test("test performance in comparison to node:net.blocklist", async (t) => {

const percentageDiff = ((blockListMs - ipMatcherMs) / ipMatcherMs) * 100;

// Expect the IPMatcher to be at least 100% faster than the BlockList
t.same(percentageDiff > 100, true);
// Expect the IPMatcher to be faster than the BlockList
t.same(percentageDiff > 25, true);
});
75 changes: 0 additions & 75 deletions library/sinks/Eval.test.ts

This file was deleted.

30 changes: 0 additions & 30 deletions library/sinks/Eval.ts

This file was deleted.

0 comments on commit d9d7453

Please sign in to comment.