mattermost/model
Agniva De Sarker f60b7437da
MM-33893: Disable TCP_NO_DELAY for websocket connections (#17129)
* MM-33893: Disable TCP_NO_DELAY for websocket connections

In very large installations, websocket messages cause too much
traffic congestion by sending too small packets and thereby cause
a drop in throughput.

To counter this, we disable the TCP_NO_DELAY flag for websocket
connections. This has shown to give noticeable improvements in
load tests.

We wrap this in a feature flag for now to let it soak in Community
first.

```release-note
NONE
```

https://mattermost.atlassian.net/browse/MM-33893

* fix gorilla specific conn
2021-03-24 21:04:18 +05:30
..
gitlab MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
testdata PLT-3383: image proxy support (#7991) 2018-01-22 15:32:50 -06:00
access.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
access_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
analytics_row.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
analytics_row_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
at_mentions.go MM-21987 Resolve mentions in slash commands (#13762) 2020-03-11 11:50:12 +01:00
at_mentions_test.go MM-21987 Resolve mentions in slash commands (#13762) 2020-03-11 11:50:12 +01:00
audit.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
audit_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
auditconv.go goimports (#16640) 2021-01-07 22:42:43 +05:30
auditconv_test.go MM-22785 audit server CLI (#14144) 2020-04-08 00:52:30 -04:00
audits.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
audits_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
authorize.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
authorize_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
bot.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
bot_default_image.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
bot_test.go [MM-17422] Added code to update, delete last bot_icon time in model.bot. (#12229) 2019-12-29 15:30:18 +01:00
builtin.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
bundle_info.go Moving mlog to corelibs (#16915) 2021-03-05 09:18:37 +01:00
bundle_info_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
channel.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
channel_count.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_data.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_list.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
channel_member.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
channel_member_history.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_member_history_result.go include user delete at (#15191) 2020-08-07 12:59:34 -04:00
channel_member_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
channel_mentions.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_search.go [MM-25990] Add filters to search all channels (#15009) 2020-07-23 10:46:33 -04:00
channel_search_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_sidebar.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
channel_sidebar_test.go MM-29067 Add deterministic IDs for default sidebar categories (#16030) 2020-10-29 10:24:01 -04:00
channel_stats.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
channel_view.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
channel_view_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
client4.go MM-32655 - Collapsed threads websocket handling (#16909) 2021-03-02 16:49:00 +02:00
client4_test.go Trimmed trailing slash in URL provided to create Client API (#15513) 2020-09-24 12:06:36 +02:00
cloud.go [MM-33198] - Portal: Send admin welcome email after the installation is complete (#17043) 2021-03-10 20:39:21 +03:00
cluster_discovery.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
cluster_discovery_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
cluster_info.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
cluster_info_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
cluster_message.go MM-24830: Add event constants for gossip request/response (#14611) 2020-05-23 11:43:58 +05:30
cluster_message_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
cluster_stats.go Update cluster_stats.go (#16483) 2020-12-10 15:45:17 +01:00
cluster_stats_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
command.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
command_args.go Extracting i18n functionality to i18n core library (#16914) 2021-02-26 08:12:49 +01:00
command_args_test.go MM-21987 Resolve mentions in slash commands (#13762) 2020-03-11 11:50:12 +01:00
command_autocomplete.go Fix misspellings and enable misspell on ci (#16285) 2020-12-01 16:27:05 +01:00
command_autocomplete_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
command_request.go MM-21727 add an endpoint to move a command to another team (#13624) 2020-01-29 11:56:21 -05:00
command_response.go [Partial Fix - #16623]: Fix initialism errors in codebase. (#16877) 2021-02-18 15:36:56 +01:00
command_response_test.go GH-12702 v2: Add new command response parameter: "skip_slack_p… (#13420) 2020-01-17 08:34:11 +01:00
command_test.go Fix command url validation (#15239) 2020-09-28 17:59:04 +04:00
command_webhook.go MM-31062: Rewrite empty string checks to be more idiomatic (#16587) 2020-12-22 19:20:59 +05:30
command_webhook_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
compliance.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
compliance_post.go Mm 31258 compliance monitoring csv headers (#16806) 2021-03-11 13:02:41 -05:00
compliance_post_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
compliance_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
config.go Split CWS url in two: public and API (#17100) 2021-03-23 15:27:40 +01:00
config_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
custom_status.go Custom status feature (#16835) 2021-02-18 12:08:01 +01:00
data_retention_policy.go Update data_retention_policy.go (#16495) 2020-12-09 16:15:18 +01:00
emoji.go Custom status feature (#16835) 2021-02-18 12:08:01 +01:00
emoji_data.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
emoji_search.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
emoji_search_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
emoji_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
feature_flags.go MM-33893: Disable TCP_NO_DELAY for websocket connections (#17129) 2021-03-24 21:04:18 +05:30
file.go Reducing the filestore dependencies from the rest of the source code (#16816) 2021-02-15 10:09:28 +01:00
file_info.go Improve file search results with postgres (#17112) 2021-03-16 11:19:13 +01:00
file_info_list.go Add search engine support for files (#16190) 2021-01-11 15:14:16 +01:00
file_info_search_results.go Add search engine support for files (#16190) 2021-01-11 15:14:16 +01:00
file_info_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
gitlab.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
group.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
group_member.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
group_syncable.go MM-20644: Add users to teams as a SchemeAdmin based on a new configuration field on GroupTeams and GroupChannels records. (#13361) 2020-01-10 09:19:39 -08:00
guest_invite.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
incoming_webhook.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
incoming_webhook_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
initial_load.go Change receiver name for (me *InitialLoad) (#16386) 2020-12-01 07:15:17 +01:00
initial_load_test.go goimports (#16640) 2021-01-07 22:42:43 +05:30
integration_action.go [MM-30978] avoid parsing nil PostAction in SlackAttachments (#16556) 2020-12-24 09:00:11 +03:00
integration_action_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
integrity.go [MM-25652] Add /integrity endpoint to local mode API (#15033) 2020-07-27 10:20:22 +02:00
job.go [MM-31247] Implement job to delete export files (#16793) 2021-02-16 09:21:56 +01:00
ldap.go MM-29522:fix typo in constant name (#15933) 2020-10-21 16:59:54 -06:00
license.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
license_test.go Update Shared Channels to respect future features (#16627) 2021-01-05 19:48:04 +02:00
link_metadata.go Fix TestLinkMetadataStore test failing for some (#15057) 2020-07-20 11:10:43 +02:00
link_metadata_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
manifest.go [GH-14493] Accept any GOOS and GOARCH combination in manifest (#14682) 2021-01-13 15:15:17 +01:00
manifest_test.go [GH-14493] Accept any GOOS and GOARCH combination in manifest (#14682) 2021-01-13 15:15:17 +01:00
marketplace_plugin.go MM-28861 Marketplace feature flags (#16451) 2021-01-04 13:21:02 -08:00
mention_map.go MM-21987 Resolve mentions in slash commands (#13762) 2020-03-11 11:50:12 +01:00
mention_map_test.go MM-21987 Resolve mentions in slash commands (#13762) 2020-03-11 11:50:12 +01:00
message_export.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
mfa_secret.go Update mfa_secret.go (#16499) 2020-12-09 06:45:17 +01:00
mfa_secret_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
migration.go [MM-28000] Fix system manager can download export files without right permissions (#16569) 2021-01-12 20:45:17 +01:00
modeltestlib_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
oauth.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
oauth_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
outgoing_webhook.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
outgoing_webhook_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
permission.go [MM-28000] Fix system manager can download export files without right permissions (#16569) 2021-01-12 20:45:17 +01:00
permission_test.go MM-25543: New Admin Roles (#14960) 2020-08-21 16:49:31 -04:00
plugin_event_data.go MM-16261: Synchronize plugins in HA (#11657) 2019-07-18 15:05:53 -03:00
plugin_key_value.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
plugin_key_value_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
plugin_kvset_options.go MM-21672: KVCompareAndSet improvements (#13858) 2020-02-18 16:32:46 -04:00
plugin_status.go [MM-15831] Improve system for storing status of available plug… (#11185) 2019-06-25 17:44:08 -04:00
plugin_valid.go Add IsValid method to *Manifest struct (#13609) 2020-01-17 21:08:55 +01:00
plugin_valid_test.go Add IsValid method to *Manifest struct (#13609) 2020-01-17 21:08:55 +01:00
plugins_response.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
plugins_response_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
post.go MM-33544 is_following prop in getPosts API methods (#17093) 2021-03-23 13:31:54 +02:00
post_embed.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
post_list.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
post_list_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
post_metadata.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
post_search_results.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
post_test.go [MM-30978] avoid parsing nil PostAction in SlackAttachments (#16556) 2020-12-24 09:00:11 +03:00
preference.go MM-32655 - Collapsed threads websocket handling (#16909) 2021-03-02 16:49:00 +02:00
preference_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
preferences.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
product_notices.go [MM-31674] app/product_notices: implement notices for ext. dependencies (#16871) 2021-02-17 12:38:52 +03:00
push_notification.go MM-30822: Change to idiomatic receiver names for model.PushNotification (#16347) 2020-12-04 06:15:17 +01:00
push_notification_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
push_response.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
push_response_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
reaction.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
reaction_test.go MM-31875 soft delete reactions (#16654) 2021-01-20 10:09:23 -05:00
role.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
role_test.go MM-25543: New Admin Roles (#14960) 2020-08-21 16:49:31 -04:00
saml.go [MM-27623] Add new session prop for oauth (#15221) 2020-08-11 10:24:26 -04:00
saml_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
scheduled_task.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
scheduled_task_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
scheme.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
search_params.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
search_params_test.go Add search engine support for files (#16190) 2021-01-11 15:14:16 +01:00
security_bulletin.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
security_bulletin_test.go Use require/assert.Empty instead of require/assert.Len(t, X, 0) (#13413) 2019-12-22 12:35:31 +01:00
session.go Moving mlog to corelibs (#16915) 2021-03-05 09:18:37 +01:00
session_serial_gen.go MM-32248 streamline serialization auto-generation (#16780) 2021-01-24 23:58:26 -05:00
session_test.go [MM-27623] Add new session prop for oauth (#15221) 2020-08-11 10:24:26 -04:00
slack_attachment.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
slack_attachment_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
slack_compatibility.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
slack_compatibility_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
status.go MM-24544: Fix crash in (*Status).ToClusterJson (#14484) 2020-08-13 17:30:38 +05:30
status_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
suggest_command.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
suggest_command_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
switch_request.go MM-27688-OpenId Connect (#16222) 2020-12-08 19:58:37 -07:00
switch_request_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
system.go [MM-31790] Support Packet Generation BACKEND (#16667) 2021-02-01 15:18:52 -05:00
system_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
team.go Fix empty string comparison issues in the codebase (#16686) 2021-01-25 11:15:17 +01:00
team_member.go MM-32248 streamline serialization auto-generation (#16780) 2021-01-24 23:58:26 -05:00
team_member_serial_gen.go MM-32248 streamline serialization auto-generation (#16780) 2021-01-24 23:58:26 -05:00
team_member_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
team_search.go [MM-26969] Add team filters to search teams (#15065) 2020-07-27 15:11:39 -04:00
team_search_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
team_stats.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
team_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
terms_of_service.go MM_22682_Centralize_ID_Validation (#14237) 2020-05-07 13:27:35 -04:00
terms_of_service_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
thread.go MM-32655 - Collapsed threads websocket handling (#16909) 2021-03-02 16:49:00 +02:00
token.go goimports (#16640) 2021-01-07 22:42:43 +05:30
typing_request.go Expand Plugin and REST APIs to trigger user typing event (#14331) 2020-06-16 11:41:05 +02:00
typing_request_test.go Expand Plugin and REST APIs to trigger user typing event (#14331) 2020-06-16 11:41:05 +02:00
upload_session.go [MM-28422] Enable processing of import files through API (#16062) 2020-12-03 11:38:00 +01:00
upload_session_test.go [MM-26812] Add support for resumable file uploads (#15252) 2020-09-15 21:28:25 +02:00
user.go [MM-33794] Improve password generation during bulk import (#17147) 2021-03-24 10:32:16 +01:00
user_access_token.go MM_22682_Centralize_ID_Validation (#14237) 2020-05-07 13:27:35 -04:00
user_access_token_search.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
user_access_token_search_test.go goimports (#16640) 2021-01-07 22:42:43 +05:30
user_access_token_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
user_autocomplete.go MM-31064: Simplify indentation (#16565) 2020-12-21 18:50:47 +03:00
user_count.go [MM-26574] Add role filters to get users, users search and add getFilteredUserStats endpoint (#14998) 2020-07-16 12:37:26 -04:00
user_get.go [MM-26574] Add role filters to get users, users search and add getFilteredUserStats endpoint (#14998) 2020-07-16 12:37:26 -04:00
user_search.go [MM-26574] Add role filters to get users, users search and add getFilteredUserStats endpoint (#14998) 2020-07-16 12:37:26 -04:00
user_search_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
user_serial_gen.go MM-32248 streamline serialization auto-generation (#16780) 2021-01-24 23:58:26 -05:00
user_terms_of_service.go MM_22682_Centralize_ID_Validation (#14237) 2020-05-07 13:27:35 -04:00
user_terms_of_Service_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
user_test.go [MM-33794] Improve password generation during bulk import (#17147) 2021-03-24 10:32:16 +01:00
users_stats.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
utils.go Extracting i18n functionality to i18n core library (#16914) 2021-02-26 08:12:49 +01:00
utils_test.go Isolate more the mfa service (#16925) 2021-02-18 12:12:21 +01:00
version.go Update version.go (#16995) 2021-03-01 16:23:27 +01:00
version_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
websocket_client.go Fix typo in comment (#16198) 2020-11-03 13:14:21 +01:00
websocket_client_test.go Replacing require.nil in model package (#16953) 2021-02-24 11:09:52 +01:00
websocket_message.go MM-30048 added thread related socket messages (#16234) 2020-11-20 11:00:52 +02:00
websocket_message_test.go MM-21481: Fixed several issues from user marshalling (#13627) 2020-01-16 09:18:08 +01:00
websocket_request.go Extracting i18n functionality to i18n core library (#16914) 2021-02-26 08:12:49 +01:00
websocket_request_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00