Hi all: AFAIK there's nothing built into MapServer or MapScript itself to do this. Not sure what to suggest... In Petrovicz's case, it would seem like something at the IIS-level would need to intervene and prune the queue. MapServer itself has no knowledge of the surrounding requests. --Steve
On Tue, Oct 15, 2024 at 5:31 AM Benedek Petrovicz via MapServer-users < [email protected]> wrote: > I'd also be interested in this. > When some requests take longer than expected the queue fills up quickly > and some clients start dropping their requests due to timeout. > But the requests are still kept in the IIS queue and MapServer processes > them anyway making the whole situation even worse. > > Thanks > Petrovicz > > On Tue, Oct 15, 2024 at 11:31 AM Aleš Grlj via MapServer-users < > [email protected]> wrote: > >> Is it possible to cancel the request to MapServer and make it stop >> processing it? >> I have the MapServer behind Flask API that uses mapscript to compose the >> mapfile dynamically per request and returns the data. The client may >> dispatch a new request to the same endpoint with different parameters. In >> such case I can cancel the previous request on the frontend and detect this >> in Flask. Can I also abort the MapServer processing the canceled request? >> >> Cheers >> >> Aleš >> _______________________________________________ >> MapServer-users mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> > _______________________________________________ > MapServer-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
