mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-23 19:06:31 +00:00
e38caf78ff
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io>
12 lines
450 B
TypeScript
12 lines
450 B
TypeScript
import { getLogger } from '@/lib/logger';
|
|
import type { Queue } from '@opennextjs/aws/types/overrides.js';
|
|
|
|
export default {
|
|
name: 'GitbookISRQueue',
|
|
send: async (msg) => {
|
|
const logger = getLogger().subLogger('GitbookISRQueue');
|
|
// We should never reach this point in the server. If that's the case, we should log it.
|
|
logger.warn('send called on server side, this should not happen.', msg);
|
|
},
|
|
} satisfies Queue;
|