rejetto forum

[server start]

raybob · 6 · 2484

0 Members and 1 Guest are viewing this topic.

Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Under the event [server start] is HFS programmed so that it completes the script BEFORE it starts accepting connections?  If not then could you make it like that?

Thanks,
Raybob


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
for what i can see, it should be always fired after it is really accepting connections


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Then maybe a new section to do things before it starts accepting connections?  :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
between it being set to "active" and it actually accepting connections.


Offline raybob

  • Tireless poster
  • ****
    • Posts: 454
    • View Profile
    • FileSplat.com
Nevermind I have an idea that will fix my problem.

My problem now is that as FHFS runs its start script it also starts accepting connections, so if it gets overloaded quickly the script won't complete correctly and it will shut itself down because it's getting requests without the start data being filled.

But I have a solution.