Skip to content

IntegratedUnstableStonksService

This service is used to test stability of Stonks front-ends (such as Stonks for Fabric and Stonks for Bukkit).

useService stonks.fabric.service.IntegratedUnstableStonksService
    // The configurations is the same as IntegratedStonksService, except for 2
    // things:

    // Maximum lag time in MS
    maxLag 5000

    // Rate to throw an exception, simulating a faulty service
    failRate 0.2

Warning

This service was created for testing purpose! It was created to test Stonks implementation on different platforms, ensuring those implementations behaves correctly, such as handling unexpected error or unstable network condition.

You do not want to use this service in your production environment.