censorship-no-archive / ceno1

(Deprecated PoC) Innovative censorship evading technology based on p2p distributed caching network
https://censorship.no
GNU Affero General Public License v3.0
58 stars 14 forks source link

Partner content #138

Closed arcrose closed 8 years ago

arcrose commented 8 years ago

As best as possible fixes the problem of having an error saying that transactions cannot be executed inside other transactions. It also fixes the problem of being unable to unfollow feeds. Finally, this branch also prevents an error from being raised when the UNIQUE constraint on the url field of the feeds table is broken by a follow request. As a result, users will see a message that the feed they asked to follow has been followed, even though no change has occurred, but they won't be prevented from making further requests.

As long as requests are spaced far enough apart that the DB's connection pool isn't used up, there shouldn't be problems with the first error.

arcrose commented 8 years ago

Resolves #93.