forked from jacksoncage/phpmemcachedadmin-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Memcache.php
28 lines (28 loc) · 852 Bytes
/
Memcache.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
return [
'stats_api' => 'Server',
'slabs_api' => 'Server',
'items_api' => 'Server',
'get_api' => 'Server',
'set_api' => 'Server',
'delete_api' => 'Server',
'flush_all_api' => 'Server',
'connection_timeout' => '1',
'max_item_dump' => '100',
'refresh_rate' => 5,
'memory_alert' => '80',
'hit_rate_alert' => '90',
'eviction_alert' => '0',
'file_path' => '/tmp',
'servers' =>
[
'Default' =>
[
'Memcache' =>
[
'hostname' => getenv('MEMCACHE_HOST'),
'port' => getenv('MEMCACHE_PORT'),
],
],
],
];