Skip to content

Commit a8bf59e

Browse files
authored
Allow transport="polling" option for all users (#5982)
1 parent 3617ee4 commit a8bf59e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

reflex/app.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -529,19 +529,6 @@ def _setup_state(self) -> None:
529529

530530
# Set up the Socket.IO AsyncServer.
531531
if not self.sio:
532-
if (
533-
config.transport == "polling"
534-
and (tier := prerequisites.get_user_tier()) != "enterprise"
535-
):
536-
console.error(
537-
"The 'polling' transport is only available for Enterprise users. "
538-
+ (
539-
"Please upgrade your plan to use this feature."
540-
if tier != "anonymous"
541-
else "Please log in with `reflex login` to use this feature."
542-
)
543-
)
544-
raise SystemExit(1)
545532
self.sio = AsyncServer(
546533
async_mode="asgi",
547534
cors_allowed_origins=(

0 commit comments

Comments
 (0)