This is a minimal implementation of an independent appflowy collab websocket server. There are still some features missing, such as TLS, tracing and support for large chunk data edit over http POST.
After APPFLOWY_COLLAB_GROUP_PERSISTENCE_INTERVAL and APPFLOWY_COLLAB_GROUP_PERSISTENCE_INTERVAL APPFLOWY_COLLAB_EDIT_STATE_MAX_SECS are set to a low value (eg. 3 seconds), and LOCALHOST_WS is set to ws://localhost:8001/ws/v1, all tests under collab passed except for write_big_chunk_data_init_sync_test and post_realtime_message_test, because the required http endpoints have not been implemented yet.
This is a minimal implementation of an independent appflowy collab websocket server. There are still some features missing, such as TLS, tracing and support for large chunk data edit over http POST.
This PR also depends on changes in https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/637.
After
APPFLOWY_COLLAB_GROUP_PERSISTENCE_INTERVAL
andAPPFLOWY_COLLAB_GROUP_PERSISTENCE_INTERVAL APPFLOWY_COLLAB_EDIT_STATE_MAX_SECS
are set to a low value (eg. 3 seconds), andLOCALHOST_WS
is set tows://localhost:8001/ws/v1
, all tests undercollab
passed except forwrite_big_chunk_data_init_sync_test
andpost_realtime_message_test
, because the required http endpoints have not been implemented yet.