kim
kim
The initial work is currently being handled in #1078. Benefits that will come from this move to passing round a singular state: - easier to manage caches, whether that be...
When fetching related models within the database to flesh out an object, e.g. fetching the account author for a status, we should only fetch the barebones model. If we make...
An example of this can be seen here: https://github.com/superseriousbusiness/gotosocial/blob/9be16852f212f56637fd4a41f3361d30ce7deb5c/internal/db/bundb/account.go#L151 Database areas still requiring this - [ ] Accounts (partially done) - [ ] Emoji - [ ] Media - [...
# Description - moves database configurables to their own namespaces - allows configuring certain SQLite pragmas, namely: journal_mode,synchronous,cache_size PR not yet finished, but opening it to allow discussion during development....
Current issues: - we accept almost every single configuration variable as CLI flags, our usage printing is already rather absurd but it will get worse as we add more configurables...
# Description - updates our fork of `go-fed/activity` to update the Dereferencer() to return the full http.Response{} object - updates our dereferencer to perform AS object URI ID vs. location...
# Description - wasm sqlite3 can be accessed via `wasmsqlite3` build tag - moves sqlite driver wrapping to separate subpkg, ~same needs to be done for postgres eventually~ - removes...
# Description Updates: - `go-mutexes` -> v1.5.0, mutex map now performs self-compaction if reduced in size by loadFactor / 2, also uses [swiss](https://github.com/dolthub/swiss/) hashmap implementation - `go-structr` -> v0.8.3 uses...
- [x] I/we have read the [GoToSocial contribution guidelines](https://github.com/superseriousbusiness/gotosocial/blob/main/CONTRIBUTING.md). - [x] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat....