Skip to content

Commit 660c289

Browse files
committed
Let’s keep rooms for a day to account for shared rooms.
1 parent 29acf64 commit 660c289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/collaboration/class-wp-sync-post-meta-storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function set_awareness_state( string $room, array $awareness ): bool {
126126
* soon, so the transient can be maintained for longer to avoid additional
127127
* entries in the options table.
128128
*/
129-
set_transient( self::AWARENESS_TRANSIENT_PREFIX . ":{$room_hash}", $awareness, HOUR_IN_SECONDS );
129+
set_transient( self::AWARENESS_TRANSIENT_PREFIX . ":{$room_hash}", $awareness, DAY_IN_SECONDS );
130130
return true;
131131
}
132132

0 commit comments

Comments
 (0)