Merge pull request #1472 from PR0M3TH3AN/ai/load-test-20260121-11214410427964689271

feat: implement load testing script
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-01-21 14:29:28 -05:00
commit 34d57c2072
1 file changed
+2 -1
+2 -1
View File
@@ -332,7 +332,8 @@ async function run() {
report.remediation.push('Check relay logs for validation errors or connection limits.');
}
const reportPath = path.join(ARTIFACTS_DIR, `load-report-${new Date().toISOString().replace(/[:.]/g, '-')}.json`);
const dateStr = new Date().toISOString().split('T')[0].replace(/-/g, '');
const reportPath = path.join(ARTIFACTS_DIR, `load-report-${dateStr}.json`);
fs.writeFileSync(reportPath, JSON.stringify(report, null, 2));
console.log(`Report saved to ${reportPath}`);
}