Skip to content

Commit b18ac30

Browse files
committed
chore(compat): add env variable for object TTL
1 parent 85677f9 commit b18ac30

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/it/java/io/weaviate/containers/Weaviate.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ public Weaviate build() {
300300
c.withEnv("ENABLE_MODULES", String.join(",", enableModules));
301301
}
302302

303+
// Required in v1.36.1, but we'll just set it by default.
304+
c.withEnv("OBJECTS_TTL_DELETE_SCHEDULE", "@hourly");
305+
303306
var apiKeyUsers = new HashSet<String>();
304307
apiKeyUsers.addAll(adminUsers);
305308
apiKeyUsers.addAll(viewerUsers);

0 commit comments

Comments
 (0)