ProjectLibertyLabs / social-app-template

Social Application Template that uses Gateway Services
Apache License 2.0
1 stars 4 forks source link

feat: first pass at adding persistence to announced content #116

Closed JoeCap08055 closed 4 months ago

JoeCap08055 commented 4 months ago

Purpose

The goal of this PR is to store announced chain content received from content-watcher in a persistence layer instead of just an in-memory cache, so that on subsequent restarts the SAT backend doesn't have to wait to ask content-watcher to search the chain for all the content it wants.

Also, using SQLite as the persistence layer makes it easier to store/query replies associated with primary posts.

TODO: