Hello, how can I yield a map-reduce script? I have...
# suitescript
t
Hello, how can I yield a map-reduce script? I have created a script that is map-reduce and it runs for more than 5 hours. Is there a way to yield it from where it ends its execution?
b
im not sure if you are using the same definition as NetSuite does
but map/reduce scripts yield based on governance usage limits and time
the time one makes it unlikely that your script ran for 5 hours without yielding.
t
@battk actually I am creating journal entry with more than 5000 lines in reduce stage and due to large no of lines it is getting timeout
b
that sounds reasonable
but that timeout is not 5 hours
t
@battk is there any way to handle this type of timeout situation?
b
i have nothings for you beyond not creating journal entries with 5000 lines