Skip to content

Commit

Permalink
Merge pull request #2 from ahousseini/patch-1
Browse files Browse the repository at this point in the history
Fix for error "Time to live cannot be null."
  • Loading branch information
battlecow authored Apr 12, 2019
2 parents 01bdf7f + 99c64ed commit 5520df9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ create_memcached_properties(){
echo_time "Setting up the memcached.properties"
cat <<-EOF > /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/dal/memcached.properties
memcached.endpoints[0]=$MEMCACHED_HOST
memcached.timeToLiveSeconds=120
EOF
}

Expand All @@ -117,9 +118,9 @@ EOF
create_cluster_properties() {
echo_time "Creating the clustering properties file"
cat <<- EOF > /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/clustering.properties
cluster.settings.enabled=true
cluster.settings.monitor_frequency=180
cluster.node[0]=$1
cluster.settings.enabled=true
cluster.settings.monitor_frequency=180
cluster.node[0]=$1
EOF
}

Expand Down

0 comments on commit 5520df9

Please sign in to comment.