From 77fb3bc40adef984ec2af8a8a0999be64bdc6d78 Mon Sep 17 00:00:00 2001 From: faizanzaver Date: Sat, 19 Nov 2022 14:39:35 +0500 Subject: [PATCH] Updated Readme.md with Cassandra configuration The table name needs to be mentioned in the Configuration builder for the cassandra configuration to work properly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d427abd43..e00742e91 100644 --- a/README.md +++ b/README.md @@ -622,7 +622,7 @@ import net.javacrumbs.shedlock.provider.cassandra.CassandraLockProvider.Configur @Bean public CassandraLockProvider lockProvider(CqlSession cqlSession) { - return new CassandraLockProvider(Configuration.builder().withCqlSession(cqlSession).build()); + return new CassandraLockProvider(Configuration.builder().withCqlSession(cqlSession).withTableName("lock").build()); } ```