mirror of
https://github.com/gofiber/storage.git
synced 2025-12-18 16:28:22 +08:00
fix: run with sudo
This commit is contained in:
3
.github/workflows/benchmark.yml
vendored
3
.github/workflows/benchmark.yml
vendored
@@ -98,8 +98,9 @@ jobs:
|
||||
- name: Tune the environment
|
||||
run: |
|
||||
cat /proc/sys/fs/aio-max-nr
|
||||
echo "fs.aio-max-nr = 1048576" >> /etc/sysctl.conf
|
||||
sudo echo "fs.aio-max-nr = 1048576" >> /etc/sysctl.conf
|
||||
sudo sysctl -p /etc/sysctl.conf
|
||||
cat /proc/sys/fs/aio-max-nr
|
||||
|
||||
- name: Run Benchmarks
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user