Skip to content

Instantly share code, notes, and snippets.

@wilig
Created August 3, 2010 19:27
Show Gist options
  • Save wilig/506974 to your computer and use it in GitHub Desktop.
Save wilig/506974 to your computer and use it in GitHub Desktop.
(def db-pool {:datasource (doto (new org.postgresql.ds.PGPoolingDataSource)
(.setServerName "localhost")
(.setDatabaseName "scale")
(.setUser "scale")
(.setPassword "scale")
(.setMaxConnections 1))})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment