{"push_id":3824750551,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"4a52d933b6b032fed1f950b483c6b50cc6178ebd","before":"63276cd0ea9bbc763da9ed3da22a27697cd8bc87","commits":[{"sha":"8ca2b3180448293d42cdbfe4ad024ccc0f7b5206","author":{"name":"Roeland Jago Douma","email":"982d370f7dc34a05b4abe8788f899578d515262d@famdouma.nl"},"message":"Do not keep searching for recent\n\nIf userA has a lot of recent files. But only shares 1 file with userB\n(that has no files at all). We could keep searching until we run out of\nrecent files for userA.\n\nNow assume the inactive userB has 20 incomming shares like that from\ndifferent users. getRecent then basically keeps consuming huge amounts\nof resources and with each iteration the load on the DB increases\n(because of the offset).\n\nThis makes sure we do not get more than 3 times the limit we search for\nor more than 5 queries.\n\nThis means we might miss some recent entries but we should fix that\nseparatly. This is just to make sure the load on the DB stays sane.\n\nSigned-off-by: Roeland Jago Douma <roeland@famdouma.nl>","distinct":true,"url":"https://api.github.com/repos/icetiger-tec/server/commits/8ca2b3180448293d42cdbfe4ad024ccc0f7b5206"},{"sha":"4a52d933b6b032fed1f950b483c6b50cc6178ebd","author":{"name":"Roeland Jago Douma","email":"16f2d52edcaec44656b79b18c493fd900b9ac5db@users.noreply.github.com"},"message":"Merge pull request #16424 from nextcloud/fix/do_not_keep_searching\n\nDo not keep searching for recent","distinct":true,"url":"https://api.github.com/repos/icetiger-tec/server/commits/4a52d933b6b032fed1f950b483c6b50cc6178ebd"}]}
{"actor":{"display_login":"pull"}}