NOW MANAGED ON CODEBERG
Closes #69. Implemented and tested memcached.
Nick Walke38d822e04c66
diff --git a/.env.example b/.env.exampleindex 6d706abdd..9d42d7487 100644--- a/.env.example+++ b/.env.example@@ -12,6 +12,9 @@ DB_PASSWORD=database_user_password# Cache and sessionCACHE_DRIVER=fileSESSION_DRIVER=file+# If using Memcached, comment the above and uncomment these+#CACHE_DRIVER=memcached+#SESSION_DRIVER=memcachedQUEUE_DRIVER=sync# Storage@@ -54,3 +57,8 @@ MAIL_PORT=1025MAIL_USERNAME=nullMAIL_PASSWORD=nullMAIL_ENCRYPTION=null++# Memcached settings+#MEMCACHED_HOST=127.0.0.1+# If using a UNIX socket path for the host, set the port to 0+#MEMCACHED_PORT=11211\ No newline at end of filediff --git a/config/cache.php b/config/cache.phpindex 379135b0e..b00a9989e 100644--- a/config/cache.php+++ b/config/cache.php@@ -51,7 +51,9 @@ return ['driver' => 'memcached','servers' => [[- 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100,+ 'host' => env('MEMCACHED_HOST', '127.0.0.1'),+ 'port' => env('MEMCACHED_PORT', 11211),+ 'weight' => 100,],],],