fix: overall perf improvements
* fix: ignore private ips * fix: performance related fixes * fix: simply event buffer * fix: default to 1 events queue shard * add: cleanup scripts * fix: comments * fix comments * fix * fix: groupmq * wip * fix: sync cachable * remove cluster names and add it behind env flag (if someone want to scale) * fix * wip * better logger * remove reqid and user agent * fix lock * remove wait_for_async_insert
This commit is contained in:
committed by
GitHub
parent
38cc53890a
commit
da59622dce
@@ -446,12 +446,6 @@ describe('cachable', () => {
|
||||
expect(cached).toBe(JSON.stringify(payload));
|
||||
});
|
||||
|
||||
it('should throw error when function is not provided', () => {
|
||||
expect(() => {
|
||||
cacheable('test', 3600);
|
||||
}).toThrow('fn is not a function');
|
||||
});
|
||||
|
||||
it('should throw error when expire time is not provided', () => {
|
||||
const fn = async (arg1: string, arg2: string) => ({});
|
||||
expect(() => {
|
||||
|
||||
Reference in New Issue
Block a user