zephyr_mirror: Update maximum length of stream names when syncing.
(imported from commit 6ab7f5ae47c9dfe9edf411e73ac9e5ab22d375a7)
This commit is contained in:
parent
4cdec3c46e
commit
8f75d55795
|
@ -807,8 +807,8 @@ def add_zulip_subscriptions(verbose):
|
||||||
elif cls.lower() == "mail" and instance.lower() == "inbox":
|
elif cls.lower() == "mail" and instance.lower() == "inbox":
|
||||||
# We forward mail zephyrs, so no need to log a warning.
|
# We forward mail zephyrs, so no need to log a warning.
|
||||||
continue
|
continue
|
||||||
elif len(cls) > 30:
|
elif len(cls) > 60:
|
||||||
skipped.add((cls, instance, recipient, "Class longer than 30 characters"))
|
skipped.add((cls, instance, recipient, "Class longer than 60 characters"))
|
||||||
continue
|
continue
|
||||||
elif instance != "*":
|
elif instance != "*":
|
||||||
skipped.add((cls, instance, recipient, "Unsupported non-* instance"))
|
skipped.add((cls, instance, recipient, "Unsupported non-* instance"))
|
||||||
|
|
Loading…
Reference in a new issue