mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
The memory limit spec raced the 100ms eval watchdog against the 50MB memory cap: on a slow CI box the timeout fired first, raising `BudgetExceededError` instead of the expected `SandboxError`. Stub the eval timeout to a generous value so the memory cap is the only limit that can fire, and make the workload allocate packed-double arrays, which reach the cap ~3x faster. |
||
|---|---|---|
| .. | ||
| admin/assets/javascripts | ||
| app | ||
| assets | ||
| config | ||
| db/migrate | ||
| lib | ||
| public/images/upcoming_changes | ||
| spec | ||
| test/javascripts | ||
| plugin.rb | ||
| USE_CASES.md | ||