Skip to content

Instantly share code, notes, and snippets.

@yedi
Last active December 15, 2015 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yedi/5176574 to your computer and use it in GitHub Desktop.
Save yedi/5176574 to your computer and use it in GitHub Desktop.
(def DB_CONNECT_MAP
(if (and (System/getProperty "RDS_HOSTNAME") (System/getProperty "RDS_PORT"))
(assoc
(assoc DB_INITIAL_MAP :host (System/getProperty "RDS_HOSTNAME"))
:port (System/getProperty "RDS_PORT"))
DB_INITIAL_MAP))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment