Commit ab827804 authored by Vincent Mazenod's avatar Vincent Mazenod
Browse files

add max lines to show

parent 34d44fc3
......@@ -10,7 +10,7 @@ BASE_MERCURE_USER_TOPIC_IRI=https://mobipaleo
# be careful on payload https://thedevopsguide.com/real-time-notifications-with-mercure/
MERCURE_JWT_TOKEN="jwt_token"
MAX_LINES_TO_SHOW=1000
MAX_LINES_TO_SHOW=10000
CONSTRAINT_MINING_DISTANT_PATH=bin/paraminer_graduals
CONSTRAINT_MINING_DISTANT_TIMEOUT=60
......
......@@ -14,7 +14,7 @@ parameters:
mercure_publish_url: '%env(MERCURE_PUBLISH_URL)%'
mercure_jwt_token: '%env(MERCURE_JWT_TOKEN)%'
max_lines_to_show: '%env(MAX_LINES_TO_SHOW)'
max_lines_to_show: '%env(MAX_LINES_TO_SHOW)%'
constraint_mining_consecutive_path: '%kernel.project_dir%/%env(CONSTRAINT_MINING_CONSECUTIVE_PATH)%'
constraint_mining_consecutive_timeout: '%env(CONSTRAINT_MINING_CONSECUTIVE_TIMEOUT)%'
......
......@@ -67,7 +67,7 @@ class JobController extends AbstractController
'JobTopic',
$job->getId().';'.$this->getUser()->getEmail()
);
return $this->render('job/inc/card.html.twig', [
'job' => $job,
'constraintMiningChoices' => array_flip(ConstraintMining::$constraintMiningChoices),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment