Page MenuHomePhabricator

[lib] Batch BaseAutoJoinCommunityHandler
ClosedPublic

Authored by ashoat on Wed, Oct 2, 11:58 PM.
Tags
None
Referenced Files
F2929617: D13583.id44851.diff
Wed, Oct 9, 3:44 PM
F2929106: D13583.id44850.diff
Wed, Oct 9, 11:40 AM
Unknown Object (File)
Tue, Oct 8, 1:03 AM
Unknown Object (File)
Thu, Oct 3, 3:15 PM
Unknown Object (File)
Thu, Oct 3, 5:50 AM
Unknown Object (File)
Thu, Oct 3, 5:47 AM
Unknown Object (File)
Thu, Oct 3, 5:03 AM
Unknown Object (File)
Thu, Oct 3, 4:42 AM
Subscribers

Details

Summary

This diff updates BaseAutoJoinCommunityHandler to work in batches of 5, and to avoid triggering a joinCommunity for a single community more than once.

Test Plan

Varun tested this in his local environment, where he has set up a reproduction of the production environment where we have a lot of communities tagged with Farcaster channels, and he tested signing in as a user with a lot of channels

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

not reviewing too closely because it's late

This revision is now accepted and ready to land.Thu, Oct 3, 12:32 AM

Add sleep(1000) before joinCommunity. Testing on prod this avoided the lag issue

This revision was landed with ongoing or failed builds.Thu, Oct 3, 12:41 AM
This revision was automatically updated to reflect the committed changes.