{"push_id":2574060880,"size":1,"distinct_size":1,"ref":"refs/heads/hannes-graceful-indexer-timeout","head":"ec2228712dd19f9ebf34bb546ae07c8890b79282","before":"3b4af6871feb99d27701304ef975becebebc17ad","commits":[{"sha":"ec2228712dd19f9ebf34bb546ae07c8890b79282","author":{"name":"Hannes Schmidt","email":"331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@ucsc.edu"},"message":"Introduce RemainingTime abstraction\n\n99% of the cases where we need the lambda context, we use it exclusively to estimate the remaining running time. This commit introduces the RemainingTime abstraction which can then be implemented and decorated in different ways. One prominent implementation is RemainingLambdaContextTime which wraps a context and replaces the `context` parameter to functions and classes. This eliminates the dependency of DSS code on a Lambda-specific object. A prominent decorator is AdjustedRemainingTime which lets us artificially constrain remaining time. The utility of this will become evident in the next commit.","distinct":true,"url":"https://api.github.com/repos/HumanCellAtlas/data-store/commits/ec2228712dd19f9ebf34bb546ae07c8890b79282"}]}
{"actor":{"display_login":"hannes-ucsc"}}