Hi.
is there any way to change max success/fail usage of resource in OnApplicationStart function?
And can i set a resource element's status to fail (not thread) and continue with next element notreused?
thank you.
Yes, you can us "Create Resource" action, which has
success/fail usage parameters that can be set. You can
also do other useful actions with yhat "Resources"module
Maybe you can delete element in case of fail, or move it
to other file or list. There is also parameter "notreuse" that
you can set.
U need disallow useless requests, for example .png .mp4,mb some .js / .css e.t.c. and u need to test, that ur denied requests dont impact ur script normall work
Great thanks, will do a bit more reading. I'm not sure what advanced DB settings BAS even has for this kind of thing. TBH I will probably just create a work around and start using a schedule to run with 1 thread regularly until a condition is met. Then the DB is updated in real time and massively minimises the odds of a single row being selected by two scripts. Bit of a pain, but I can't see any options in BAS so far to implement what you're discussing! Best Regards