s3backup 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -25,3 +25,7 @@
25
25
 
26
26
  === 0.6.8 2010-01-19
27
27
  * default log level debug to info
28
+
29
+ === 0.6.9 2010-01-20
30
+ * modify problem for backup taget is huge,memory is burned out
31
+ * default max_retry_count 10 to 20
@@ -179,6 +179,7 @@ module S3backup
179
179
  update_dir = diff_info[:directory][:add] + diff_info[:directory][:modify]
180
180
  #更新されたディレクトリをアップロード
181
181
  update_dir.each do |udir|
182
+ GC.start
182
183
  store_directory(udir)
183
184
  udir_info = tree_info.get_dir_info(udir)
184
185
  #前回のファイル・ツリー情報のうち、今回アップデートしたディレクトリ情報ファイル情報を更新
@@ -3,7 +3,7 @@ require 'aws/s3'
3
3
  module S3backup
4
4
  class S3Wrapper
5
5
  attr_reader :bucket
6
- DEFAULT_MAX_RETRY_COUNT = 10
6
+ DEFAULT_MAX_RETRY_COUNT = 20
7
7
  def initialize(config,create_flg)
8
8
  @bucket= nil
9
9
  @s3objects =nil
data/lib/s3backup.rb CHANGED
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module S3backup
5
- VERSION = '0.6.8'
5
+ VERSION = '0.6.9'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi Morita
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-19 00:00:00 +09:00
12
+ date: 2010-01-22 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency