Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Bug] Intermittent network connections can create high cpu-use situations for desktop applications.

Đang mở
#1,629 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
authentication, desktop

Hướng nghiên cứu

Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách lần theo quá trình khởi tạo Firebase Auth sau khi mở ứng dụng desktop mà không có Internet, sau đó tái hiện đầu ra “USE_AUTH_EMULATOR not set” lặp lại trong thời gian mất kết nối. Được xem là hoàn tất khi kết nối chập chờn không còn gây ra log spam không giới hạn hoặc mức tải CPU đáng kể.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

api: auth new type: question
[REQUIRED] Please fill in the following fields:
  • Pre-built SDK
  • Firebase C++ SDK version: 11.6.0
  • Problematic Firebase Component: Auth
  • Other Firebase Components in use: Database/Functions/Storage
  • Platform you are using the C++ SDK on: Windows
  • Platform you are targeting: Desktop
[REQUIRED] Please describe the issue here:

Intermittent network connections can create high cpu-use situations for desktop applications.

Steps to reproduce:
  • Sign into firebase auth.
  • Close app.
  • Remove internet.
  • Open app and instantiate a user.

or

  • interrupt internet access.

The following spams the console thousands of times:

INFO: USE_AUTH_EMULATOR not set.
INFO: USE_AUTH_EMULATOR not set.

This creates significant CPU load and overhead when the network connection is lost. I expect the attempt to connect to a live auth instance fails, but there is no rate limit on retries after time 'x', or graceful management of that particular scenario.

Ngôn ngữ chính
C++
Star
326
Fork
138
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/firebase-cpp-sdk

Tất cả issue của firebase/firebase-cpp-sdk

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.