version = 0.0.2-SNAPSHOT
+# Location of the Aquarium accounting policy config file. If commented
+# out, Aquarium will look for the file policy.yaml first at the program
+# starting directory and then fall back to the classpath.
+aquarium.policy = policy.yaml
+
### Queue related settings
+
# Comma separated list of amqp servers to use. The servers must be in an
# active-active mode.
amqp.servers=localhost
rest.port=8080
### Message store related settings
+
# Provider for persistence services.
# Currently one of: mongo
persistence.provider=mongodb
# Password for connecting to the persistence service
persistence.password=aquarium
+### Performance options
+
+# Maximum number of open connections to MongoDB. Has no effect if
+# another driver is in use
+mongo.connection.pool.size=20
+
#######
# DO NOT TOUCH the following options, unless you know what you are doing
#######
# Store subsystem
store.provider.class=gr.grnet.aquarium.store.mongodb.MongoDBStoreProvider
# Override the user store (if present, it will not be given by the store provider above)
-#user.store.class=gr.grnet.aquarium.store.memory.MemUserStore
+#user.state.store.class=gr.grnet.aquarium.store.memory.MemUserStateStore
# Override the event store (if present, it will not be given by the store provider above)
-#event.store.class=
-# Override the Wallet store (if present, it will not be given by the store provider above)
-#wallet.store.class=
-
+#resource.event.store.class=
+# Override the WalletEntry store (if present, it will not be given by the store provider above)
+#wallet.entry.store.class=
+# Override the user event store (if present, it will not be given by the store provider above)
+#user.event.store.class=
+# Override the user event store (if present, it will not be given by the store provider above)
+#policy.store.class=
# The lower mark for the UserActors' LRU, managed by UserActorManager.
user.actor.LRU.lower.mark=800
# The upper mark for the UserActors' LRU, managed by UserActorManager.
user.actors.LRU.upper.mark=1000
+# A time period in milliseconds for which we can tolerate stale data regarding user state.
+user.state.timestamp.threshold=10000
+
# Comma separated list of exchanges known to aquarium
amqp.exchanges=aquarium
# The name of the DB schema to use
-persistence.db=aquarium
\ No newline at end of file
+persistence.db=aquarium
+
+# This is an absolute constant for the lifetime of an Aquarium installation.
+# 1 means that every second counts
+time.unit.in.seconds = 1
\ No newline at end of file