zephyr_mirror: Update maximum length of stream names when syncing.

(imported from commit 6ab7f5ae47c9dfe9edf411e73ac9e5ab22d375a7)
This commit is contained in:
Tim Abbott 2013-11-10 17:55:31 -05:00
parent 4cdec3c46e
commit 8f75d55795

View file

@ -807,8 +807,8 @@ def add_zulip_subscriptions(verbose):
elif cls.lower() == "mail" and instance.lower() == "inbox":
# We forward mail zephyrs, so no need to log a warning.
continue
elif len(cls) > 30:
skipped.add((cls, instance, recipient, "Class longer than 30 characters"))
elif len(cls) > 60:
skipped.add((cls, instance, recipient, "Class longer than 60 characters"))
continue
elif instance != "*":
skipped.add((cls, instance, recipient, "Unsupported non-* instance"))