docs: added inline and general to-dos

This commit is contained in:
William Artero 2023-08-23 23:59:35 +02:00
parent fd93855bb0
commit 1fd239b18b
Signed by: wwmoraes
GPG key ID: 4180618C988F24A3
2 changed files with 6 additions and 21 deletions

26
TODO.md
View file

@ -1,27 +1,11 @@
# to-dos
## security
- [ ] add OWASP ZAP scan to CI <https://github.com/marketplace?type=actions&query=publisher%3Azaproxy+>
- PoC ObjectBox as store <https://github.com/objectbox/objectbox-go>
- add support for anime-lists <https://github.com/Anime-Lists/anime-lists>
- PoC zerolog <https://github.com/go-logr/zerologr>
- [ ] OWASP ZAP scan <https://github.com/marketplace?type=actions&query=publisher%3Azaproxy+>
## code
### Telemetry
- <https://github.com/riandyrn/otelchi>
- <https://github.com/MrAlias/flow>
### store
- <https://github.com/objectbox/objectbox-go>
### providers
- <https://github.com/Anime-Lists/anime-lists>
## environment
### production
## production
- <https://fly.io/docs/postgres/>
- <https://fly.io/docs/app-guides/custom-domains-with-fly/>

View file

@ -54,6 +54,7 @@ func (wrapper *cachedTracker) GetMediaListIDs(ctx context.Context, userId string
ctx, span := telemetry.StartFunction(ctx)
defer span.End()
// TODO use cache to avoid DB DDoS/increased costs
ids, err := wrapper.tracker.GetMediaListIDs(ctx, userId)
return ids, span.Assert(err)