Skip to content

Commit

Permalink
large files inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed Oct 12, 2018
1 parent 838b835 commit 850b2d7
Show file tree
Hide file tree
Showing 5 changed files with 926,753 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN gem update --system && \
RUN mkdir -p /etc/my_init.d
COPY vendor/docker/80_flush_cache.sh /etc/my_init.d/80_flush_cache.sh
COPY vendor/docker/90_migrate.sh /etc/my_init.d/90_migrate.sh
COPY vendor/docker/70_mysql_change.sh /etc/my_init.d/70_mysql_change.sh

# Expose web
EXPOSE 80
6 changes: 6 additions & 0 deletions lib/tasks/mysql.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace :mysql do
desc 'Clears the Rails cache'
task :max_allowed_packet => :environment do
ActiveRecord::Base.connection.execute("set global max_allowed_packet=64000000;")
end
end
Loading

0 comments on commit 850b2d7

Please sign in to comment.