Dear all,
my scenario is a RestXQ:
- download resources and store them in temporary directory.
- do it with fork-join in order to obtain smaller latency
- compress to zip archive and return the archive data.
I've noticed often the archive arrives empty. So after investigation
I've found that
Hi Marco,
let $ops := (
for $i in (1 to 5)
let $url := "http://www.google.com";
return function(){
(file:write(file:create-temp-file("ttt",string($i)),fetch:content-type($url)))
}
)
let $download := xquery:fork-join($ops)
return count($ops)
> I've noticed often the archive arrives emp
Dear Christian,
I have to admit that all what you say makes sense and I was even digging
in my swapped long term memory for something like the annotation you
mention.
The background information you share makes me feel more comfortable and
I'll take your advice.
Thanks!
Marco.
On 07/02/23
3 matches
Mail list logo