Initial commit

This commit is contained in:
zhongjin
2020-06-15 10:58:47 +08:00
commit 4f1dfe7564
8590 changed files with 1516878 additions and 0 deletions

21
script/server_load.rb Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env ruby
require_relative '../lib/cartodb/threads_machine'
require_relative '../lib/cartodb/scripts/server_load'
class ServerLoad < ThreadsMachine
def execute
MAX_THREADS.times do
queue.enq(ServerLoadScript)
end
async do |load_script|
load_script.new
end
end
end
ServerLoad.new.execute