Commit 02934f5 1 parent 911893c commit 02934f5 Copy full SHA for 02934f5
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ impl RuntimeState {
323
323
owners : self . data . members . owners ( ) . len ( ) as u32 ,
324
324
blocked : self . data . members . blocked ( ) . len ( ) as u32 ,
325
325
invited : self . data . invited_users . len ( ) as u32 ,
326
- frozen : self . data . is_frozen ( ) ,
326
+ frozen_at : self . data . frozen . as_ref ( ) . map ( |f| f . timestamp ) ,
327
327
groups_being_imported : self . data . groups_being_imported . summaries ( ) ,
328
328
instruction_counts : self . data . instruction_counts_log . iter ( ) . collect ( ) ,
329
329
event_store_client_info : self . data . event_store_client . info ( ) ,
@@ -1052,7 +1052,7 @@ pub struct Metrics {
1052
1052
pub owners : u32 ,
1053
1053
pub blocked : u32 ,
1054
1054
pub invited : u32 ,
1055
- pub frozen : bool ,
1055
+ pub frozen_at : Option < TimestampMillis > ,
1056
1056
pub groups_being_imported : Vec < GroupBeingImportedSummary > ,
1057
1057
pub instruction_counts : Vec < InstructionCountEntry > ,
1058
1058
pub event_store_client_info : EventStoreClientInfo ,
Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ impl RuntimeState {
419
419
messages_in_last_day,
420
420
events_in_last_hour,
421
421
events_in_last_day,
422
- frozen : self . data . is_frozen ( ) ,
422
+ frozen_at : self . data . frozen . as_ref ( ) . map ( |f| f . timestamp ) ,
423
423
instruction_counts : self . data . instruction_counts_log . iter ( ) . collect ( ) ,
424
424
community_being_imported_into : self
425
425
. data
@@ -879,7 +879,7 @@ pub struct Metrics {
879
879
pub messages_in_last_day : u64 ,
880
880
pub events_in_last_hour : u64 ,
881
881
pub events_in_last_day : u64 ,
882
- pub frozen : bool ,
882
+ pub frozen_at : Option < TimestampMillis > ,
883
883
pub instruction_counts : Vec < InstructionCountEntry > ,
884
884
pub community_being_imported_into : Option < CommunityId > ,
885
885
pub serialized_chat_state_bytes : u64 ,
You can’t perform that action at this time.
0 commit comments