michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
249 stars 203 forks source link

Update code to use non-deprecated Mongo API & expose Mongo Client Options #57

Closed lordbuddha closed 10 years ago

lordbuddha commented 10 years ago

Update code to expose the most important mongo client API options.

e.g.

properties.put("org.quartz.jobStore.mongoOptionAutoConnectRetry", "true"); properties.put("org.quartz.jobStore.mongoOptionMaxConnectionsPerHost", "100"); properties.put("org.quartz.jobStore.mongoOptionConnectTimeoutMillis", "5000"); properties.put("org.quartz.jobStore.mongoOptionSocketTimeoutMillis", "10000"); properties.put("org.quartz.jobStore.mongoOptionSocketKeepAlive", "true"); properties.put("org.quartz.jobStore.mongoOptionThreadsAllowedToBlockForConnectionMultiplier", "4");