<< | Index | >>
It seems that is ok by rescue, in case.
Because, problem is interruption of invoicer job.
in src/plugin/patinfo_invoicer.rb
... 67 def unique_name(item) 68 name = item.text 69 p item 70 p name ...
There were some another objects (not ODDB::InvoiceItem).
... #<ODBA::Stub:146006500#24152575 @odba_class=ODDB::InvoiceItem @odba_container=146011280#24152574> "unlimited access" #<ODBA::Stub:146034140#27637248 @odba_class=ODDB::InvoiceItem @odba_container=146023110#27637247> "44978 01" #<ODBA::Stub:113275420#28647527 @odba_class= @odba_container=120773100#386780> "58417 01" #<ODBA::Stub:113275420#28647527 @odba_class= @odba_container=120773100#386780> "58417 01" ...
I could not get Interruption Error.
This encoding convertion may also help this error.
Attach:Added-encoding-convertion.patch-20120313.txt
I tried access_test, after applied these patch.
2012-03-13 09:37:55: sessions: 76 - threads: 20 - memory: 212MB 2012-03-13 09:37:49: sessions: 75 - threads: 18 - memory: 212MB 2012-03-13 09:37:43: sessions: 71 - threads: 17 - memory: 212MB T 2012-03-13 09:37:38: sessions: 71 - threads: 18 - memory: 212MB T 2012-03-13 09:37:33: sessions: 71 - threads: 19 - memory: 212MB M 2012-03-13 09:37:28: sessions: 71 - threads: 19 - memory: 219MB 2012-03-13 09:37:23: sessions: 71 - threads: 19 - memory: 219MB T 2012-03-13 09:37:18: sessions: 70 - threads: 20 - memory: 212MB T 2012-03-13 09:37:11: sessions: 69 - threads: 21 - memory: 212MB 2012-03-13 09:37:06: sessions: 69 - threads: 20 - memory: 212MB 2012-03-13 09:37:01: sessions: 63 - threads: 16 - memory: 212MB
But, my machine are freezed, then I could not see error.
replaced sample code, then creted 2 flavors.
z.B.
updated article object handling in shoeapp.rb
> articles #=> all articles > recent_articles #=> recent 3 articles > create_article #=> create new article > delete_article(id) #=> delete article with id(odba_id)