Skip to content

Commit 7b798de

Browse files
author
Tim Mendoza
committed
Update changelog
1 parent 1fc5967 commit 7b798de

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.8.1
4+
5+
### Enhancement
6+
7+
- Specified a timer when creating a Twilio Conversation. This will automatically close the conversation after 24 hours, which is equal to the maximum duration of a video room. This helps to clean up old conversations since there is a limit that a single participant can not be added to more than 1,000 open conversations.
8+
39
## 0.8.0
410

511
### New Features

src/serverless/functions/token.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module.exports.handler = async (context, event, callback) => {
9696
// Here we add a timer to close the conversation after the maximum length of a room (24 hours).
9797
// This helps to clean up old conversations since there is a limit that a single participant
9898
// can not be added to more than 1,000 open conversations.
99-
await conversationsClient.conversations.create({ uniqueName: room.sid, 'timers.close': 'P1D' });
99+
await conversationsClient.conversations.create({ uniqueName: room.sid, 'timers.closed': 'P1D' });
100100
} catch (e) {
101101
response.setStatusCode(500);
102102
response.setBody({

0 commit comments

Comments
 (0)