mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: pre-commit.php updates (#8679)
Disable the log for unit tests to speed things up hopefully
This commit is contained in:
committed by
Neil Lathwood
parent
5273b291bf
commit
8afafe7eb0
+1
-1
@@ -51,8 +51,8 @@ ini_set('display_errors', 1);
|
||||
|
||||
update_os_cache(true); // Force update of OS Cache
|
||||
|
||||
$snmpsim = new Snmpsim('127.1.6.2', 1162, null);
|
||||
if (getenv('SNMPSIM')) {
|
||||
$snmpsim = new Snmpsim('127.1.6.2');
|
||||
$snmpsim->fork();
|
||||
|
||||
// make PHP hold on a reference to $snmpsim so it doesn't get destructed
|
||||
|
||||
Reference in New Issue
Block a user