Skip to content

Commit

Permalink
fix: Nc2ToNc3モデルではClassRegistry::flushさせない
Browse files Browse the repository at this point in the history
 実行したら、お知らせ等の移行でupload_idなしのエラーが出たため
 * [エラー内容]
 * Nc2Upload upload_id:999 not found . - announcement/9999.png : Nc2ToNc3Upload on line 88
  • Loading branch information
akagane99 committed Apr 16, 2019
1 parent d0f9780 commit 5fb9757
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Model/Nc2ToNc3.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ class Nc2ToNc3 extends Nc2ToNc3AppModel {

/**
* この実行時間(秒)を越えたらClassRegistry::flush()
* 実行したら、お知らせ等の移行でupload_idなしのエラーが出たため、ClassRegistry::flushさせない数字にする。
* [エラー内容]
* Nc2Upload upload_id:999 not found . - announcement/9999.png : Nc2ToNc3Upload on line 88
*
* @var float
*/
public $executionFlushTime = 0;
public $executionFlushTime = 99999999;

/**
* The DataSource name for nc2
Expand Down

0 comments on commit 5fb9757

Please sign in to comment.