dango_generator 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -319,7 +319,8 @@ package org.rubyforge.dango {
319
319
 
320
320
  socket.readBytes(receive_cache_byta, receive_cache_byta.length, socket.bytesAvailable); // データ読み込み
321
321
 
322
- while(true){
322
+ // while(true){
323
+ for(var j:uint = 0; j < 5; j++){
323
324
  // 長さ取得処理
324
325
  if(receive_cache_do_phase == 0){
325
326
  if(is_debug){ trace("DangoClientFramework:socket_read_push_cache:receive_cache_do_phase == 0:" + DangoUtil.now2str()); }
@@ -416,8 +417,9 @@ package org.rubyforge.dango {
416
417
  // if(is_debug){ trace("DangoClientFramework:recv_do_callback:" + DangoUtil.now2str()); }
417
418
 
418
419
  // 前回から時間がかかりすぎている(処理落ちしかけている場合は)スキップ
419
- var start_date:Date = new Date();
420
- if(recv_do_last_date.time > start_date.time - (Number(recv_do_timer_msec) * 1.4)){
420
+ // var start_date:Date = new Date();
421
+ // if(recv_do_last_date.time > start_date.time - (Number(recv_do_timer_msec) * 1.4)){
422
+
421
423
  if(recv_wait_do_cache.length > 0){
422
424
  var recv_arr:Array = recv_wait_do_cache.shift();
423
425
  var notice_name:String = recv_arr[0];
@@ -436,9 +438,9 @@ package org.rubyforge.dango {
436
438
  this.dispatchEvent(new DangoReceiveEvent("dango__after_filter", recv_data, count_no));
437
439
  }
438
440
  }
439
- }
441
+ // }
440
442
 
441
- recv_do_last_date = new Date(); // 前回の実行の終了時間の保持
443
+ // recv_do_last_date = new Date(); // 前回の実行の終了時間の保持
442
444
  }
443
445
 
444
446
 
@@ -24,6 +24,8 @@ server:
24
24
  send_timeout_sec: 4.0 # データ送受信時の送信のタイムアウト秒数
25
25
  heart_beat_interval_sec: 10.0 # S=>Cのheart beatの送信間隔秒数
26
26
  heart_beat_response_wait_sec: 10.0 # S=>Cのheart beatの返信待ち秒数
27
+
28
+ daemon: false # daemonモード
27
29
 
28
30
  network:
29
31
  host: localhost
@@ -24,6 +24,8 @@ server:
24
24
  send_timeout_sec: 4.0 # データ送受信時の送信のタイムアウト秒数
25
25
  heart_beat_interval_sec: 10.0 # S=>Cのheart beatの送信間隔秒数
26
26
  heart_beat_response_wait_sec: 10.0 # S=>Cのheart beatの返信待ち秒数
27
+
28
+ daemon: true # daemonモード
27
29
 
28
30
  network:
29
31
  host: localhost
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dango_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keisuke Minami
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-28 00:00:00 +09:00
12
+ date: 2008-07-29 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency