1
0
Fork 0
mirror of synced 2024-09-30 01:08:13 +13:00

fix: make numbers more readable

This commit is contained in:
Torsten Dittmann 2022-05-16 11:27:25 +02:00
parent 5b6900ac84
commit e68c48a713

View file

@ -162,7 +162,7 @@ class V13 extends Migration
/**
* Increase stdout size.
*/
$this->projectDB->updateAttribute($id, 'stdout', size: 1000000);
$this->projectDB->updateAttribute($id, 'stdout', size: 1_000_000);
} catch (\Throwable $th) {
Console::warning("'stdout' from {$id}: {$th->getMessage()}");
}
@ -170,7 +170,7 @@ class V13 extends Migration
/**
* Increase stderr size.
*/
$this->projectDB->updateAttribute($id, 'stderr', size: 1000000);
$this->projectDB->updateAttribute($id, 'stderr', size: 1_000_000);
} catch (\Throwable $th) {
Console::warning("'stderr' from {$id}: {$th->getMessage()}");
}
@ -182,7 +182,7 @@ class V13 extends Migration
* Increase response size.
*/
$this->projectDB->renameAttribute($id, 'stdout', 'response');
$this->projectDB->updateAttribute($id, 'response', size: 1000000);
$this->projectDB->updateAttribute($id, 'response', size: 1_000_000);
} catch (\Throwable $th) {
Console::warning("'stdout' from {$id}: {$th->getMessage()}");
}
@ -190,7 +190,7 @@ class V13 extends Migration
/**
* Increase stderr size.
*/
$this->projectDB->updateAttribute($id, 'stderr', size: 1000000);
$this->projectDB->updateAttribute($id, 'stderr', size: 1_000_000);
} catch (\Throwable $th) {
Console::warning("'stderr' from {$id}: {$th->getMessage()}");
}