Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
515c89c5
Commit
515c89c5
authored
May 05, 2020
by
Dominik Hebeler
Browse files
Fixed Prometheus for development version
parent
9ca5771e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Providers/AppServiceProvider.php
View file @
515c89c5
...
...
@@ -34,6 +34,17 @@ class AppServiceProvider extends ServiceProvider
\
App
::
setLocale
(
'es'
);
}
\
Prometheus\Storage\Redis
::
setDefaultOptions
(
[
'host'
=>
env
(
"REDIS_HOST"
,
'127.0.0.1'
),
'port'
=>
intval
(
env
(
"REDIS_PORT"
,
6379
)),
'password'
=>
env
(
"REDIS_PASSWORD"
,
null
),
'timeout'
=>
0.1
,
// in seconds
'read_timeout'
=>
'10'
,
// in seconds
'persistent_connections'
=>
false
]
);
Queue
::
before
(
function
(
JobProcessing
$event
)
{
});
Queue
::
after
(
function
(
JobProcessed
$event
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment