{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":207646442,"defaultBranch":"master","name":"stockpile_cache","ownerLogin":"ConvertKit","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-09-10T19:30:55.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10557747?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1700598310.0","currentOid":""},"activityList":{"items":[{"before":"a78dfd16e5fa3cb1b9a40c7d785450872a26eb1f","after":"a961687ba5880358bf9f3db6551777168829f024","ref":"refs/heads/rk-config-file-double-write","pushedAt":"2023-11-27T16:52:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"keegnotrub","name":"Ryan Krug","path":"/keegnotrub","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1398?s=80&v=4"},"commit":{"message":"Rubocop fixes","shortMessageHtmlLink":"Rubocop fixes"}},{"before":null,"after":"a78dfd16e5fa3cb1b9a40c7d785450872a26eb1f","ref":"refs/heads/rk-config-file-double-write","pushedAt":"2023-11-21T20:25:10.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"keegnotrub","name":"Ryan Krug","path":"/keegnotrub","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1398?s=80&v=4"},"commit":{"message":"Add ability to mirror database writes\n\n- Adds a `mirrorable` option to `Stockpile.redis` in addition to\nyielding the db for the key you passed (`default`) it will also yield\nfor a matching key if it exists (`default_2x`). This allows you to\nexecute a single Redis command inside of Stockpile against two databases.\n- Updates Stockpile so that locks, cache writes, and lock expirations\nuse this new `Stockpile.redis_2x` method, leaving the read methods\nalone so they continue to call execute once\n\nThe idea would be we could deploy this per Stockpile database, wait\nfor the longest TTL on that database, then deploy once more promoting\nthe `default_2x` database key to be the `default` database key so\nreads now take place on the new cluster.","shortMessageHtmlLink":"Add ability to mirror database writes"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADuPS8pQA","startCursor":null,"endCursor":null}},"title":"Activity ยท ConvertKit/stockpile_cache"}