docs(examples): update enterprise usage example

- Update examples/enterprise-usage.ts with generic polling interface
- Include comprehensive enterprise integration patterns
- Add advanced configuration examples for production deployments
- Improve documentation and code examples for enterprise use cases
This commit is contained in:
Matthew Raymer
2025-10-07 04:45:03 +00:00
parent 151d849336
commit 281fb4af6b

View File

@@ -226,8 +226,8 @@ async function implementRateLimiting() {
const plugin = new DailyNotification();
class RateLimiter {
private lastNotificationTime: number = 0;
private minInterval: number = 60000; // 1 minute
private lastNotificationTime = 0;
private minInterval = 60000; // 1 minute
async scheduleWithRateLimit(options: NotificationOptions): Promise<void> {
const now = Date.now();