define size of the shared memory blocks

This commit is contained in:
yggverse 2024-07-17 20:28:08 +03:00
parent 0183d4dbb4
commit fe877b8b2e

View file

@ -18,34 +18,42 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
// Set defaults
$this->_pool->init(
'completed'
'completed',
1
);
$this->_pool->init(
'title'
'title',
255
);
$this->_pool->init(
'subtitle'
'subtitle',
255
);
$this->_pool->init(
'tooltip'
'tooltip',
255
);
$this->_pool->init(
'mime'
'mime',
255
);
$this->_pool->init(
'data'
'data',
// 1 Mb default
);
$this->_pool->init(
'redirect'
'redirect',
1024
);
$this->_pool->init(
'request'
'request',
// 1 Mb default
);
}