-
Notifications
You must be signed in to change notification settings - Fork 246
/
feature_flags.go
29 lines (21 loc) · 957 Bytes
/
feature_flags.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package common
type FeatureFlags struct {
// Datasync indicates whether direct messages should be sent exclusively
// using datasync, breaking change for non-v1 clients. Public messages
// are not impacted
Datasync bool
// PushNotification indicates whether we should be enabling the push notification feature
PushNotifications bool
// MailserverCycle indicates whether we should enable or not the mailserver cycle
MailserverCycle bool
// DisableCheckingForBackup disables backup loop
DisableCheckingForBackup bool
// DisableAutoMessageLoop disables auto message loop
DisableAutoMessageLoop bool
// ResendRawMessagesDisabled indicates whether we should be disabling sending raw messages
ResendRawMessagesDisabled bool
// StoreNodesDisabled indicates whether we should fetch messages from store nodes
StoreNodesDisabled bool
// Peersyncing indicates whether we should advertise and sync messages with other peers
Peersyncing bool
}