Browse Source

add remote namespaces cache

main
ghost 9 months ago
parent
commit
f0cceb2a4d
  1. 11
      src/controller/room.php

11
src/controller/room.php

@ -537,7 +537,7 @@ class Room
) )
); );
// Check for cached results // Cache results
$this->_memory->set( $this->_memory->set(
[ [
__METHOD__, __METHOD__,
@ -851,6 +851,15 @@ class Room
{ {
if ($record['key'] == '_KEVA_NS_') if ($record['key'] == '_KEVA_NS_')
{ {
$this->_memory->set(
[
__METHOD__,
$namespace
],
$record['value']
);
return $record['value']; return $record['value'];
} }
} }

Loading…
Cancel
Save