fixes
This commit is contained in:
@@ -17,6 +17,6 @@ class EchoDB:
|
||||
database = mongo_client['Echo']
|
||||
|
||||
# Create Indexes
|
||||
database['MovementLog'].create_index("timestamp", expireAfterSeconds=10)
|
||||
database['ClimateLog'].create_index("timestamp", expireAfterSeconds=10)
|
||||
database['LightLog'].create_index("timestamp", expireAfterSeconds=10)
|
||||
database['MovementLogs'].create_index("timestamp", expireAfterSeconds=3600)
|
||||
database['ClimateLogs'].create_index("timestamp", expireAfterSeconds=3600)
|
||||
database['LightLogs'].create_index("timestamp", expireAfterSeconds=3600)
|
Reference in New Issue
Block a user