File tree Expand file tree Collapse file tree 7 files changed +9
-8
lines changed Expand file tree Collapse file tree 7 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ impl Enterprise {
60
60
. property_or_default :: < Option < Duration > > ( "storage.undelete.retention" , "false" )
61
61
. unwrap_or_default ( ) ,
62
62
trace_hold_period : config
63
- . property_or_default :: < Option < Duration > > ( "tracing.history.retention" , "90d " )
64
- . unwrap_or ( Some ( Duration :: from_secs ( 90 * 24 * 60 * 60 ) ) ) ,
63
+ . property_or_default :: < Option < Duration > > ( "tracing.history.retention" , "30d " )
64
+ . unwrap_or ( Some ( Duration :: from_secs ( 30 * 24 * 60 * 60 ) ) ) ,
65
65
trace_store : config
66
66
. value ( "tracing.history.store" )
67
67
. and_then ( |name| stores. stores . get ( name) )
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ impl MysqlStore {
106
106
SUBSPACE_FTS_INDEX ,
107
107
SUBSPACE_LOGS ,
108
108
SUBSPACE_TRACE ,
109
+ SUBSPACE_TRACE_INDEX ,
109
110
] {
110
111
let table = char:: from ( table) ;
111
112
conn. query_drop ( & format ! (
@@ -135,7 +136,6 @@ impl MysqlStore {
135
136
SUBSPACE_BITMAP_ID ,
136
137
SUBSPACE_BITMAP_TAG ,
137
138
SUBSPACE_BITMAP_TEXT ,
138
- SUBSPACE_TRACE_INDEX ,
139
139
] {
140
140
let table = char:: from ( table) ;
141
141
conn. query_drop ( & format ! (
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ impl PostgresStore {
94
94
SUBSPACE_LOGS ,
95
95
SUBSPACE_BLOBS ,
96
96
SUBSPACE_TRACE ,
97
+ SUBSPACE_TRACE_INDEX ,
97
98
] {
98
99
let table = char:: from ( table) ;
99
100
conn. execute (
@@ -114,7 +115,6 @@ impl PostgresStore {
114
115
SUBSPACE_BITMAP_ID ,
115
116
SUBSPACE_BITMAP_TAG ,
116
117
SUBSPACE_BITMAP_TEXT ,
117
- SUBSPACE_TRACE_INDEX ,
118
118
] {
119
119
let table = char:: from ( table) ;
120
120
conn. execute (
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ impl SqliteStore {
105
105
SUBSPACE_LOGS ,
106
106
SUBSPACE_BLOBS ,
107
107
SUBSPACE_TRACE ,
108
+ SUBSPACE_TRACE_INDEX ,
108
109
] {
109
110
let table = char:: from ( table) ;
110
111
conn. execute (
@@ -124,7 +125,6 @@ impl SqliteStore {
124
125
SUBSPACE_BITMAP_ID ,
125
126
SUBSPACE_BITMAP_TAG ,
126
127
SUBSPACE_BITMAP_TEXT ,
127
- SUBSPACE_TRACE_INDEX ,
128
128
] {
129
129
let table = char:: from ( table) ;
130
130
conn. execute (
Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ impl Store {
746
746
( SUBSPACE_BITMAP_TEXT , false ) ,
747
747
( SUBSPACE_INDEXES , false ) ,
748
748
( SUBSPACE_TRACE , true ) ,
749
- ( SUBSPACE_TRACE_INDEX , false ) ,
749
+ ( SUBSPACE_TRACE_INDEX , true ) ,
750
750
] {
751
751
let from_key = crate :: write:: AnyKey {
752
752
subspace,
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ async fn undelete(_params: &mut JMAPTest) {
219
219
api
. get :: < serde_json
:: Value > ( "/api/store/purge/account/[email protected] " )
220
220
. await
221
221
. unwrap ( ) ;
222
+ tokio:: time:: sleep ( Duration :: from_millis ( 200 ) ) . await ;
222
223
let deleted = api
223
224
. get :: < List < DeletedBlob < String , String , String > > > ( "/api/store/undelete/[email protected] " )
224
225
. await
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ pub async fn jmap_tests() {
300
300
)
301
301
. await ;
302
302
303
- /* webhooks::test(&mut params).await;
303
+ webhooks:: test ( & mut params) . await ;
304
304
email_query:: test ( & mut params, delete) . await ;
305
305
email_get:: test ( & mut params) . await ;
306
306
email_set:: test ( & mut params) . await ;
@@ -325,7 +325,7 @@ pub async fn jmap_tests() {
325
325
quota:: test ( & mut params) . await ;
326
326
crypto:: test ( & mut params) . await ;
327
327
blob:: test ( & mut params) . await ;
328
- purge::test(&mut params).await;*/
328
+ purge:: test ( & mut params) . await ;
329
329
enterprise:: test ( & mut params) . await ;
330
330
331
331
if delete {
You can’t perform that action at this time.
0 commit comments