spawn tasks for processing matches
ci / docker (push) Waiting to run

This commit is contained in:
2024-06-14 04:58:40 +02:00
parent 3e3017f31a
commit 6d89ed657c
5 changed files with 30 additions and 4 deletions
@@ -7,8 +7,10 @@ defmodule Storage.MatchStorage.S3MatchStorage do
end
@impl true
def stream_files(path) do
ExAws.S3.list_objects_v2(path)
def stream_files(path, opts \\ []) do
patch = Keyword.get(opts, :patch, "")
ExAws.S3.list_objects_v2(path, prefix: patch)
|> ExAws.stream!()
end