Skip to content

Commit

Permalink
Set history sync config in mdtest
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Dec 7, 2023
1 parent 9889372 commit 3d38622
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mdtest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ func main() {
}
if *requestFullSync {
store.DeviceProps.RequireFullSync = proto.Bool(true)
store.DeviceProps.HistorySyncConfig = &waProto.DeviceProps_HistorySyncConfig{
FullSyncDaysLimit: proto.Uint32(3650),
FullSyncSizeMbLimit: proto.Uint32(102400),
StorageQuotaMb: proto.Uint32(102400),
}
}
log = waLog.Stdout("Main", logLevel, true)

Expand Down

0 comments on commit 3d38622

Please sign in to comment.