dat-ecosystem-archive / datBase

Open data sharing powered by Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
http://datbase.org
244 stars 32 forks source link

Make sure the archive metadata refresh http request doesn't timeout by using SSE #532

Closed okdistribute closed 7 years ago

okdistribute commented 7 years ago

This call is an HTTP call: https://github.com/datproject/datproject.org/blob/master/client/js/models/read-only-archive.js#L26

It can timeout. Ideally instead we'd use server-side events or websockets so that the client waits for the server to tell it when to update the metadata.