Skip to content

Commit

Permalink
Merge pull request #1246 from faizanzaver/patch-2
Browse files Browse the repository at this point in the history
Updated Readme.md with Cassandra configuration
  • Loading branch information
lukas-krecan authored Nov 19, 2022
2 parents 9b64b43 + 77fb3bc commit 902e33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
```

Expand Down

0 comments on commit 902e33a

Please sign in to comment.