mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-23 18:07:39 +00:00
Update Cobalt to 0.7
- Timeouts are now driven by an interrupt system, rather than polling. While we do not impose memory limits, this should close #1333. - Update the table library to largely match Lua 5.4: - Add table.move - Table methods (with the exception of foreach/foreachi) now use metamethods (closes #1088). There's still some remaining quirks (for instance, table.insert accepts values out-of-bounds), but I think that's fine. - Cobalt's threaded-coroutine system is gone (load now supports yielding), so we no longer track coroutine metrics. - Type errors now use __name. See #1355, though this does not apply to CC methods (either on the Java or CraftOS side), so is not enough to resolve it. See https://github.com/SquidDev/Cobalt/compare/v0.6.0...v0.7.0 for the full delta.
This commit is contained in:
@@ -178,8 +178,6 @@ public final class LanguageProvider implements DataProvider {
|
||||
add(Metrics.HTTP_DOWNLOAD, "HTTP download");
|
||||
add(Metrics.WEBSOCKET_INCOMING, "Websocket incoming");
|
||||
add(Metrics.WEBSOCKET_OUTGOING, "Websocket outgoing");
|
||||
add(Metrics.COROUTINES_CREATED, "Coroutines created");
|
||||
add(Metrics.COROUTINES_DISPOSED, "Coroutines disposed");
|
||||
add(Metrics.TURTLE_OPS, "Turtle operations");
|
||||
|
||||
add(AggregatedMetric.TRANSLATION_PREFIX + Aggregate.MAX.id(), "%s (max)");
|
||||
|
Reference in New Issue
Block a user