Skip to content

Commit 20e775f

Browse files
committed
add warning about using polling
1 parent 892952c commit 20e775f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dotenv.config();
2424

2525
const port = process.env.PORT;
2626

27+
// Warning: Polling is not to be used in a production environment. Use webhooks instead.
2728
const enablePolling = Boolean(process.env.ENABLE_POLLING);
2829

2930
const DEFAULT_ORIGIN = [

0 commit comments

Comments
 (0)