Connor Adams

Results 55 comments of Connor Adams

Cool project, thanks for flagging, will take a look 🫡

https://medium.com/@zaccharles/there-is-more-than-one-way-to-schedule-a-task-398b4cdc2a75

Would be nice if ... - Locks could be set to expire at a particular minute - The channel is notified when the lock expires (and unlocks) 1 minute CRON...

The DynamoDB TTL could trigger a lambda according to [this](https://theburningmonk.com/2019/03/dynamodb-ttl-as-an-ad-hoc-scheduling-mechanism/) and [this ](https://medium.com/monstar-lab-bangladesh-engineering/how-i-solved-dynamic-task-scheduling-using-aws-dynamodb-ttl-stream-and-lambda-c0da5ebd6597). The trouble is that it [might not actually get deleted for up to 48 hours](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/howitworks-ttl.html) which is...

Hey @floydspace sounds like a great idea! 1. I'm just reading about this [EventBridge.PutRule](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutRule.html) - sounds very promising! Going to read some more. 2. The format sounds good. I think...

Note to self: https://medium.com/@najibahalim/aws-custom-event-bridge-with-serverless-framework-ac76a5ebdf79 https://github.com/rubenkaiser/serverless-offline-eventBridge

Well that didn't work for a start ... ![image](https://user-images.githubusercontent.com/10026538/122677786-c189ab00-d1db-11eb-8638-ea7aabd24c3b.png)

Oops, I wasn't using `Lockbot dev`, now we're talking `{"message": "Internal server error"}`

Not ideal but in the meantime users can use `/locks` to see what is currently locked, including when locked via the API

If a team has fully integrated their CI pipeline with Lockbot they might not actually want to be notified so this behaviour should be configurable.