mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #5575 from turbo124/v5-develop
Disable query logging
This commit is contained in:
commit
5b9eb115d0
@ -55,7 +55,7 @@ class QueryLogging
|
|||||||
nlog($request->method().' - '.$request->url().": $count queries - ".$time);
|
nlog($request->method().' - '.$request->url().": $count queries - ".$time);
|
||||||
|
|
||||||
// if($count > 50)
|
// if($count > 50)
|
||||||
nlog($queries);
|
//nlog($queries);
|
||||||
|
|
||||||
LightLogs::create(new DbQuery($request->method(), $request->url(), $count, $time, request()->ip()))
|
LightLogs::create(new DbQuery($request->method(), $request->url(), $count, $time, request()->ip()))
|
||||||
->batch();
|
->batch();
|
||||||
|
@ -44,7 +44,7 @@ class CompanyObserver
|
|||||||
nlog($company->getOriginal('portal_domain'));
|
nlog($company->getOriginal('portal_domain'));
|
||||||
|
|
||||||
//fire event to build new custom portal domain
|
//fire event to build new custom portal domain
|
||||||
\Modules\Admin\Jobs\Domain\CustomDomain::dispatch($company->getOriginal('portal_domain'), $company);
|
\Modules\Admin\Jobs\Domain\CustomDomain::dispatch($company->getOriginal('portal_domain'), $company)->onQueue('domain');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user