Skip to content

Commit

Permalink
Merge pull request #609 from TheRestartProject/RES-1835_queue_handling
Browse files Browse the repository at this point in the history
RES-1835 Fix queueing configuration
  • Loading branch information
edwh authored Feb 1, 2023
2 parents 2458c4a + 52a085f commit 438cae5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|
*/

'default' => env('QUEUE_CONNECTION', 'sync'),
'default' => env('QUEUE_CONNECTION', 'database'),

/*
|--------------------------------------------------------------------------
Expand All @@ -31,7 +31,7 @@
'connections' => [

'sync' => [
'driver' => 'database',
'driver' => 'sync',
],

'database' => [
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/visualisations/consume.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@if( $measure == 'km' )
<p>{{{ $equal_to }}} {{{ $measure }}}</p>
@else
<p>{{{ $equal_to }}} {{{ Str::plural($measure, $equal_to) }}}</p>
<p>{{{ $equal_to }}} {{{ Str::plural($measure, floatval($equal_to)) }}}</p>
@endif
<br>
<div class="p-5">@include('partials.visualisations.'.$measure.'-svg')</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<aside class="widget widget__2">
<h2>{{{ $title }}}</h2>
<p title="{{{ $co2 }}} kg of CO2">{{{ $equal_to }}} {{{ Str::plural($measure, $equal_to) }}}</p>
<p title="{{{ $co2 }}} kg of CO2">{{{ $equal_to }}} {{{ Str::plural($measure, floatval($equal_to)) }}}</p>
<br>
<div class="row row-compressed">

Expand Down

0 comments on commit 438cae5

Please sign in to comment.