Bob,
It is adjustable in jQuery, but I switched over to direct load. I need
to think of some way to pull off a timeout with direct load. I guess I
can run the direct loads through jQuery! I may just go back to AJAX via
my server. The only reason that I changed is that I'm starting to worry
about PubChem query violations from my server. Resolver is 12 in 2
seconds (per Markus). I don't know what PubChem is. The big difference
is that PubChem blacklists and Resolver simply returns 403 on the 13th.
My time-out concern is based on Resolver experiences. When Resolver is
down, it's down. Nothing comes back, so a direct load just hangs. You're
at the mercy of some browser default.
In playing with all this I made an interesting discovery, at least at
PubChem. If you load a model via direct load at PubChem, then you cannot
make a subsequent AJAX call - 403 error I think. I discovered this when
I went after the 2D SDF (via AJAX) of a 3D model already loaded via
direct load. Every subsequent AJAX to PubChem failed until I reloaded
the page.
Otis
Robert Hanson <mailto:[email protected]>
August 26, 2014 at 3:23 PM
It should time-out after some number of seconds. That number of
seconds might be adjustable in jQuery, I don't know.
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
Otis Rothenberger <mailto:[email protected]>
August 26, 2014 at 12:29 PM
Bob,
Is there any way to interrupt a load command if a load is hung due to
a server down?
Otis
--
Otis Rothenberger
[email protected]
http://chemagic.com
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users