Skip to content

Commit

Permalink
feat: partial enable s3 and tmp file system (#429)
Browse files Browse the repository at this point in the history
* chore: add dependencies

* chore: add `config.toml`

* fix: align default resource limits as docs described

* feat: support s3 file system

* fix(sb_core): modify file api blocklist

* stamp: enable sync file api on testing

* chore: update `.blocklisted`

* stamp: polishing

* feat: support tmp file system

* chore: add an integration test for tmp file system

* chore: update `Cargo.lock`

* stamp: make clippy happy

* stamp: apply `cargo fmt`

* stamp: don't use default member implementation

* stamp: adjust root path of module loader

* stamp: polishing

* chore: add another integration test for tmp file system

* chore: update `.blocklisted`

* chore: update integration tests for tmp file system

* chore(sb_core): update `bootstrap.js`

* feat(sb_fs): add disk usage limit to tmp file system

* chore(sb_fs): add a dev dependency

* chore: update `Cargo.lock`

* stamp: polishing tmp fs and adding more unit tests

* stamp: make clippy happy

* stamp: oops
  • Loading branch information
nyannyacha authored Nov 5, 2024
1 parent ec9b270 commit b10fb3d
Show file tree
Hide file tree
Showing 27 changed files with 4,675 additions and 202 deletions.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[env]
# https://supabase.com/docs/guides/functions/limits
SUPABASE_RESOURCE_LIMIT_MEM_MB = "256"
SUPABASE_RESOURCE_LIMIT_LOW_MEM_MULTIPLIER = "5"
SUPABASE_RESOURCE_LIMIT_CPU_SOFT_MS = "1000"
SUPABASE_RESOURCE_LIMIT_CPU_HARD_MS = "2000"
SUPABASE_RESOURCE_LIMIT_TIMEOUT_MS = "400000"
Loading

0 comments on commit b10fb3d

Please sign in to comment.