Ncodi icon indicating copy to clipboard operation
Ncodi copied to clipboard

Pretty sure those "m" are not intended :P!

Open LyesSaadi opened this issue 3 years ago • 3 comments

LyesSaadi avatar Jul 20 '21 23:07 LyesSaadi

It was temporarily intended since someone abused madem loop and ran infinite loops in my server and took it down 15 times 😅

azizamari avatar Jul 20 '21 23:07 azizamari

I implemented a solution to make a time limit in the online editor and I thought it worked at first but somehow the asynchronous task keeps running in my server even though the user gets a time exceed message. I have to fix that before and I don't know how to stop an asynchronous Task in C# (I still don't understand asynchronous code well 😅)

azizamari avatar Jul 20 '21 23:07 azizamari

Well, no one understands async, it's like quantum mechanics, so I totally understand :laughing:!

But yeah, people abusing online code execution is an issue as old as the Internet itself :stuck_out_tongue:! An execution time limit is the only solution for preventing this (and that's the way most online compilers do, like Rust's Playground).

LyesSaadi avatar Jul 20 '21 23:07 LyesSaadi