You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpuseLaravel\Octane\Contracts\OperationTerminated;
useLaravel\Octane\Events\RequestHandled;
useLaravel\Octane\Events\RequestReceived;
useLaravel\Octane\Events\RequestTerminated;
useLaravel\Octane\Events\TaskReceived;
useLaravel\Octane\Events\TickReceived;
useLaravel\Octane\Events\WorkerErrorOccurred;
useLaravel\Octane\Events\WorkerStarting;
useLaravel\Octane\Events\WorkerStopping;
useLaravel\Octane\Listeners\CollectGarbage;
useLaravel\Octane\Listeners\DisconnectFromDatabases;
useLaravel\Octane\Listeners\EnsureUploadedFilesAreValid;
useLaravel\Octane\Listeners\FlushTemporaryContainerInstances;
useLaravel\Octane\Listeners\ReportException;
useLaravel\Octane\Listeners\StopWorkerIfNecessary;
useLaravel\Octane\Octane;
return [
/* |-------------------------------------------------------------------------- | Octane Server |-------------------------------------------------------------------------- | | This value determines the default "server" that will be used by Octane | when starting, restarting, or stopping your server via the CLI. You | are free to change this to the supported server of your choosing. | | Supported: "roadrunner", "swoole" | */'server' => env('OCTANE_SERVER', 'swoole'),
Attempt to use the store "octane" as per the README.md
<?phpuseIlluminate\Http\JsonResponse;
useIlluminate\Support\Facades\Route;
useIlluminate\Support\Facades\Cache;
/*|--------------------------------------------------------------------------| Web Routes|--------------------------------------------------------------------------|| Here is where you can register web routes for your application. These| routes are loaded by the RouteServiceProvider within a group which| contains the "web" middleware group. Now create something great!|*/Route::get('/', function () {
Cache::store('octane')->put('framework', 'Laravel', 30);
});
The text was updated successfully, but these errors were encountered:
Description:
There is no default cache store setup for "octane", when trying to access the store the below exception is thrown.
Steps To Reproduce:
Create a new laravel project
Require Octane
Run octane:install
Set config to use Swoole
Attempt to use the store "octane" as per the README.md
The text was updated successfully, but these errors were encountered: