A function stub exists in db/init.go which is called CheckForExpired(). This should be a goroutine called upon start up of the API to cycle through the database for requests and offers and set Expired = true for when an item contains a ValidityPeriod smaller than the current time. This is usually called a reaper function.
A function stub exists in
db/init.go
which is calledCheckForExpired()
. This should be a goroutine called upon start up of the API to cycle through the database for requests and offers and setExpired = true
for when an item contains aValidityPeriod
smaller than the current time. This is usually called a reaper function.