-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
778a9e7
commit 0559ac7
Showing
5 changed files
with
55 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Leantime\Core\Providers; | ||
|
||
use Illuminate\Cache\MemcachedConnector; | ||
use Illuminate\Support\Facades\Cache; | ||
use Illuminate\Support\ServiceProvider; | ||
use Leantime\Core\CliRequest; | ||
use Leantime\Core\Events; | ||
use Leantime\Core\IncomingRequest; | ||
use Leantime\Domain\Auth\Services\Auth as AuthService; | ||
use Leantime\Domain\Oidc\Services\Oidc as OidcService; | ||
use Leantime\Domain\Setting\Services\Setting as SettingsService; | ||
|
||
class RateLimiter extends ServiceProvider | ||
{ | ||
/** | ||
* Register any application services. | ||
* | ||
* @return void | ||
*/ | ||
public function register() | ||
{ | ||
$this->app->singleton(\Illuminate\Cache\RateLimiter::class, function ($app) { | ||
return new \Illuminate\Cache\RateLimiter(Cache::store("installation")); | ||
}); | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
app/cache/installation/5b/ac/5bac1d3aee24b76ccad2a413c6a76d4780014219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9999999999a:0:{} |