1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

base profiling config

This commit is contained in:
Robin Appelman 2025-04-11 15:57:41 +02:00
commit 374ac42481
2 changed files with 3 additions and 0 deletions

View file

@ -7,5 +7,7 @@
'allow_local_remote_servers' => true, 'allow_local_remote_servers' => true,
'trusted_domains' => ['cloud'], 'trusted_domains' => ['cloud'],
'redis' => ['host' => 'localhost'], 'redis' => ['host' => 'localhost'],
'profiling.secret' => 'haze',
'profiling.path' => '/tmp/profiling',
//PLACEHOLDER //PLACEHOLDER
]; ];

View file

@ -156,6 +156,7 @@ pub fn default_mappings<'a>() -> impl IntoIterator<Item = Mapping<'a>> {
.file() .file()
.dont_create(), .dont_create(),
Mapping::new(WorkDir, "xdebug", "/tmp/xdebug"), Mapping::new(WorkDir, "xdebug", "/tmp/xdebug"),
Mapping::new(WorkDir, "profiling", "/tmp/profiling"),
]; ];
IntoIterator::into_iter(mappings) IntoIterator::into_iter(mappings)
} }